We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ef32f1 commit f338e36Copy full SHA for f338e36
2 files changed
CHANGELOG
@@ -1,5 +1,6 @@
1
1.0.1
2
- fix: handle resource downloads whose target directory got deleted
3
+ - fix: check for existence of persistent job list in upload
4
1.0.0
5
- fix: do not attempt to updates non-existent eternal jobs on exit
6
- enh: allow users to specify circle IDs as well as names during upload
dcoraid/upload/queue.py
@@ -178,7 +178,8 @@ def __del__(self):
178
# Attempt to update the eternal jobs (important for ETags)
179
for job in self.jobs:
180
try:
181
- if self.jobs_eternal.job_exists(job.dataset_id):
+ if (self.jobs_eternal is not None
182
+ and self.jobs_eternal.job_exists(job.dataset_id)):
183
self.jobs_eternal.update_job(job)
184
except BaseException:
185
self.logger.error(traceback.format_exc())
0 commit comments