Skip to content

Commit

Permalink
No need to delete temp_folder at start
Browse files Browse the repository at this point in the history
  • Loading branch information
cbusillo committed Jul 5, 2024
1 parent 38e7396 commit 88ea92b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions bd_to_avp/modules/process.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import os
import shutil
import subprocess

from wakepy.modes import keep
Expand Down Expand Up @@ -50,8 +49,6 @@ def process_each() -> None:
output_folder = prepare_output_folder_for_source(disc_info.name)

tmp_folder = config.output_root_path / "temp_files"
if not config.keep_files:
shutil.rmtree(tmp_folder, ignore_errors=True)

tmp_folder.mkdir(parents=True, exist_ok=True)
os.environ["TMPDIR"] = tmp_folder.as_posix()
Expand Down

0 comments on commit 88ea92b

Please sign in to comment.