diff --git a/subgen/subgen.py b/subgen/subgen.py index a15d1d1..3480803 100644 --- a/subgen/subgen.py +++ b/subgen/subgen.py @@ -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")