quotation marks for everyone yay
This commit is contained in:
@@ -87,11 +87,10 @@ def fast_pass(
|
|||||||
:type workers: int
|
:type workers: int
|
||||||
"""
|
"""
|
||||||
|
|
||||||
if IS_WINDOWS:
|
# Enclose paths in quotes if they contain spaces
|
||||||
# Enclose paths in quotes if they contain spaces
|
input_file = f'"{input_file}"' if ' ' in input_file else input_file
|
||||||
input_file = f'"{input_file}"' if ' ' in input_file else input_file
|
output_file = f'"{output_file}"' if ' ' in output_file else output_file
|
||||||
output_file = f'"{output_file}"' if ' ' in output_file else output_file
|
tmp_dir = f'"{tmp_dir}"' if ' ' in tmp_dir else tmp_dir
|
||||||
tmp_dir = f'"{tmp_dir}"' if ' ' in tmp_dir else tmp_dir
|
|
||||||
|
|
||||||
fast_av1an_command = [
|
fast_av1an_command = [
|
||||||
'av1an',
|
'av1an',
|
||||||
@@ -496,4 +495,4 @@ match stage:
|
|||||||
calculate_zones(tmp_dir, ranges, zones, crf)
|
calculate_zones(tmp_dir, ranges, zones, crf)
|
||||||
case _:
|
case _:
|
||||||
print(f"Stage argument invalid, exiting.")
|
print(f"Stage argument invalid, exiting.")
|
||||||
exit(-2)
|
exit(-2)
|
||||||
|
|||||||
Reference in New Issue
Block a user