double-quote filenames in process-data commands so that on Windows, paths with spaces don't fail (#1347)

* double-quote filenames in commands so that on Windows, paths with spaces don't fail

* reformatting by black
This commit is contained in:
machenmusik authored and GitHub committed 2023-02-03 21:01:37 -05:00
1 parent 319a2b965c
commit fad5a839aa
2 files changed
+10 -10

No files matched your search

+1 -1
View File
@@ -350,7 +350,7 @@ class ProcessInsta360:
if not filename_back.exists():
raise FileNotFoundError(f"Could not find {filename_back}")
ffprobe_cmd = f"ffprobe -v quiet -print_format json -show_streams -select_streams v:0 {filename_back}"
ffprobe_cmd = f'ffprobe -v quiet -print_format json -show_streams -select_streams v:0 "{filename_back}"'
ffprobe_output = process_data_utils.run_command(ffprobe_cmd)