Skip to content

Commit

Permalink
fix, reverted the logic
Browse files Browse the repository at this point in the history
  • Loading branch information
albertz committed Nov 20, 2023
1 parent 546efb6 commit e2090a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sisyphus/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ def _sis_cleanable(self):
elif self._sis_cleanable_cache:
return True
else:
if not os.path.islink(self._sis_path()):
if os.path.islink(self._sis_path()):
self._sis_cleaned_or_not_cleanable = True
return False
cleanable = not os.path.isfile(self._sis_path(gs.JOB_FINISHED_ARCHIVE)) and self._sis_finished()
Expand Down

0 comments on commit e2090a2

Please sign in to comment.