Skip to content

Commit

Permalink
Fix command line crashing
Browse files Browse the repository at this point in the history
Certain queuing systems like flux list pyiron jobs as failed, this is fixed now.
  • Loading branch information
jan-janssen committed Jun 1, 2023
1 parent 0fe1191 commit 0127c1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyiron_base/cli/control.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,5 @@ def main():
args = parser.parse_args()
args.cli(args)

if not args.dirty:
if not args.dirty and os.path.exists("pyiron.log"):
os.remove("pyiron.log")

0 comments on commit 0127c1b

Please sign in to comment.