Update subgen.py

This commit is contained in:
McCloudS authored and GitHub committed 2024-02-05 13:39:54 -07:00
1 parent 4cb836b80b
commit 02954e2f2a
1 file changed
+3 -4
+3 -4
View File
@@ -478,10 +478,9 @@ def transcribe_existing():
for path in transcribe_folders:
logging.debug(path)
for root, dirs, files in os.walk(path):
if files:
for file in files:
file_path = os.path.join(root, file)
gen_subtitles(path_mapping(file_path), transcribe_or_translate, False)
for file in files:
file_path = os.path.join(root, file)
gen_subtitles(path_mapping(file_path), transcribe_or_translate, False)
print("Finished searching and queueing files for transcription")