1
0

fixes output file extension

This commit is contained in:
2024-12-01 01:06:48 +01:00
parent e82da26143
commit 03c7f901e8
+1 -1
View File
@@ -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")