From 7ae5f72d5d18113c25c7c5afa64ac017648a94db Mon Sep 17 00:00:00 2001 From: McCloudS <64094529+McCloudS@users.noreply.github.com> Date: Sat, 11 Nov 2023 09:16:16 -0700 Subject: [PATCH] Update subgen.py Fixed error/logging issue. --- subgen/subgen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subgen/subgen.py b/subgen/subgen.py index 3e4bdec..35c7c52 100644 --- a/subgen/subgen.py +++ b/subgen/subgen.py @@ -300,7 +300,7 @@ def gen_subtitles(file_path: str, transcribe_or_translate_str: str, front=True) print(f"File {os.path.basename(file_path)} is already in the transcription list. Skipping.") except Exception as e: - print(f"Error processing or transcribing {video_file_path}: {e}") + print(f"Error processing or transcribing {file_path}: {e}") finally: delete_model()