Skip to content

Commit

Permalink
delete temp folder if not keep_files
Browse files Browse the repository at this point in the history
  • Loading branch information
cbusillo committed Jul 5, 2024
1 parent 9e0f4b8 commit 3808b01
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bd_to_avp/modules/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ def process_each() -> None:
)
move_file_to_output_root_folder(muxed_output_path)

if not config.keep_files:
remove_folder_if_exists(tmp_folder)

if config.remove_original and config.source_path:
if config.source_path.is_dir():
remove_folder_if_exists(config.source_path)
Expand Down

0 comments on commit 3808b01

Please sign in to comment.