Fixing more stupid errors on my part

This commit is contained in:
McCloudS
2024-03-20 08:07:47 -06:00
committed by GitHub
parent 3fe5f137fd
commit c9f050dbdd

View File

@@ -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)