vnrecode: fix dest path relativity

This commit is contained in:
OleSTEEP 2025-01-28 21:17:57 +03:00
parent debc1755bb
commit e5bf961ddb

View file

@ -71,7 +71,7 @@ class Params:
if not source.exists(): if not source.exists():
print("Requested path does not exists. Exiting!") print("Requested path does not exists. Exiting!")
exit(255) exit(255)
dest = Path(source.name + f"_compressed") dest = Path(source.parent, source.name + f"_compressed")
return cls( return cls(
copy_unprocessed, force_compress, mimic_mode, hide_errors, webp_rgba, workers, copy_unprocessed, force_compress, mimic_mode, hide_errors, webp_rgba, workers,