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