Skip to content

Commit ad48fde

Browse files
committed
more info
1 parent 11b0c1e commit ad48fde

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

dpdispatcher/dp_cloud_server_context.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,10 @@ def download(self, submission):
155155
result_filename = job_hash + '_back.zip'
156156
target_result_zip = os.path.join(self.local_root, result_filename)
157157
if self._check_if_job_has_already_downloaded(target_result_zip, self.local_root):
158-
continue
158+
dlog.info(str(target_result_zip) + " has already exist")
159+
continue
160+
else:
161+
dlog.info(str(target_result_zip) + " not exist")
159162
self.api.download_from_url(info['result_url'], target_result_zip)
160163
zip_file.unzip_file(target_result_zip, out_dir=self.local_root)
161164
self._backup(self.local_root, target_result_zip, keep_backup=self.remote_profile.get('keep_backup', True))

0 commit comments

Comments
 (0)