From c9f050dbddf60d351ba94c66e8e5c637c793538e Mon Sep 17 00:00:00 2001 From: McCloudS <64094529+McCloudS@users.noreply.github.com> Date: Wed, 20 Mar 2024 08:07:47 -0600 Subject: [PATCH] Fixing more stupid errors on my part --- subgen/subgen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subgen/subgen.py b/subgen/subgen.py index 36d8875..f53ccbe 100644 --- a/subgen/subgen.py +++ b/subgen/subgen.py @@ -624,7 +624,7 @@ if monitor: # Only process if it's a file if not event.is_directory: file_path = event.src_path - if has_audio(file_path) + if has_audio(file_path): # Call the gen_subtitles function logging.info(f"File: {path_mapping(file_path)} was added") gen_subtitles(path_mapping(file_path), transcribe_or_translate, False)