Skip to content

Commit

Permalink
Ensure proper deletion in replay merge
Browse files Browse the repository at this point in the history
  • Loading branch information
benedikt-schesch committed May 27, 2024
1 parent d3a848b commit fd8f36f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/python/replay_merge.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ def merge_replay(
f"Workdir {workdir} exists for idx: {merge_idx}. Delete it? (y/n)"
)
if answer == "y":
os.system("chmod -R 777 " + str(WORKDIR_DIRECTORY / workdir))
shutil.rmtree(WORKDIR_DIRECTORY / workdir)
else:
logger.info(
Expand Down

0 comments on commit fd8f36f

Please sign in to comment.