Update subgen.py

This commit is contained in:
McCloudS
2024-02-05 23:35:01 -07:00
committed by GitHub
parent d2d021cefb
commit e44dc365e9

View File

@@ -262,7 +262,7 @@ def gen_subtitles(file_path: str, transcribe_or_translate_str: str, front=True)
try: try:
if not is_video_file(file_path): if not is_video_file(file_path):
print(f"{file_path} isn't a video file!") logging.debug(f"{file_path} isn't a video file!")
return None return None
if file_path not in files_to_transcribe: if file_path not in files_to_transcribe: