fixes the problem with square brackets in the target file path

This commit is contained in:
Pozitronik 2023-06-18 15:46:07 +04:00
parent 8c1994f5d1
commit 3af2724031

View File

@ -62,7 +62,7 @@ def restore_audio(target_path: str, output_path: str) -> None:
def get_temp_frame_paths(target_path: str) -> List[str]:
temp_directory_path = get_temp_directory_path(target_path)
return glob.glob(os.path.join(temp_directory_path, '*.png'))
return glob.glob1(temp_directory_path, '*.png')
def get_temp_directory_path(target_path: str) -> str: