Skip to content

Commit 8ff3c1c

Browse files
committed
newline
1 parent 14628e0 commit 8ff3c1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dpdispatcher/dp_cloud_server_context.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def upload(self, submission):
9090

9191
# zip_path = "/home/felix/workplace/22_dpdispatcher/dpdispatcher-yfb/dpdispatcher/dpcloudserver/t.txt"
9292
# zip_path = self.local_root
93-
bar_format = "{l_bar}{bar}| {n:.02f}/{total:.02f} % [{elapsed}<{remaining}, {rate_fmt}{postfix}]"
93+
bar_format = "{l_bar}{bar}| {n:.02f}/{total:.02f} % [{elapsed}<{remaining}, {rate_fmt}{postfix}]\n"
9494
for job in tqdm.tqdm(submission.belonging_jobs, desc="Uploading to Lebesgue", bar_format=bar_format):
9595
self.machine.gen_local_script(job)
9696
zip_filename = job.job_hash + '.zip'
@@ -141,7 +141,7 @@ def download(self, submission):
141141
else:
142142
job_hash = job_hashs[each['task_id']]
143143
job_infos[job_hash] = each
144-
bar_format = "{l_bar}{bar}| {n:.02f}/{total:.02f} % [{elapsed}<{remaining}, {rate_fmt}{postfix}]"
144+
bar_format = "{l_bar}{bar}| {n:.02f}/{total:.02f} % [{elapsed}<{remaining}, {rate_fmt}{postfix}]\n"
145145
for job_hash, info in tqdm.tqdm(job_infos.items(), desc="Downloading to Lebesgue", bar_format=bar_format):
146146
result_filename = job_hash + '_back.zip'
147147
target_result_zip = os.path.join(self.local_root, result_filename)

0 commit comments

Comments
 (0)