fixes output file extension
This commit is contained in:
@@ -206,7 +206,7 @@ def process_directory(
|
||||
|
||||
# Determine destination path, remove source if already exists and requested
|
||||
target_path = destination_dir / filepath.relative_to(source_dir)
|
||||
target_path = target_path.with_suffix(".cmp" + target_path.suffix)
|
||||
target_path = target_path.with_suffix(".cmp.mp4")
|
||||
if target_path.exists():
|
||||
if remove_source:
|
||||
logging.info(f"Removing source file {filepath} as compressed version exists")
|
||||
|
||||
Reference in New Issue
Block a user