mirror of
https://github.com/Dasemu/Transcriptarr.git
synced 2026-11-27 15:36:08 +00:00
Update subgen.py
This commit is contained in:
1 parent
4cb836b80b
commit
02954e2f2a
1 file changed
+3
-4
+3
-4
@@ -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")
|
||||
|
||||
|
||||
Reference in new issue
Block a user