Skip to content

Commit

Permalink
Update pyiron_base/jobs/job/util.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-janssen authored Apr 17, 2024
1 parent 6dac46f commit 67f97fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyiron_base/jobs/job/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ def delete_file_or_folder(fullname):
if "tar" not in name and not stat.S_ISFIFO(os.stat(name).st_mode):
tar.add(name)
for name in files_to_compress:
if "tar" not in name:
if name != _job_compressed_name(job):
delete_file_or_folder(
fullname=os.path.join(job.working_directory, name)
)
Expand Down

0 comments on commit 67f97fd

Please sign in to comment.