Skip to content

Commit

Permalink
cs condition
Browse files Browse the repository at this point in the history
  • Loading branch information
pivnicek committed Mar 29, 2021
1 parent 0a705f8 commit e2ea898
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kbcstorage/workspaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def load_files(self, workspace_id, file_mapping):
jobs_list.append(job)

for job in jobs_list:
if (jobs.block_for_success(job['id']) != True):
if not (jobs.block_for_success(job['id'])):
try:
print("Failed to load a file with error: %s" % job['results']['message'])
except IndexError:
Expand Down

0 comments on commit e2ea898

Please sign in to comment.