Skip to content

Commit

Permalink
forgot case #65
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed Nov 28, 2022
1 parent cafe917 commit 09255c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dcoraid/gui/upload/widget_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,8 @@ def jobs(self):
Object for managing upload jobs. Returns None
if `set_job_list` has not been called before.
"""
self.logger.warning("Job list not initialized!")
if self._jobs is None:
self.logger.warning("Job list not initialized!")
return self._jobs

def get_dataset_title(self, job):
Expand Down

0 comments on commit 09255c2

Please sign in to comment.