small bugfix

This commit is contained in:
Wolfang Torres
2026-07-01 06:26:04 +08:00
parent 04fd4cef89
commit b30c8de0b4

View File

@@ -313,7 +313,7 @@ def folder_proccess(process_folder: ProcessFolder, language_id: str):
line.strip() for line in file.readlines() if line.strip()
]
results[process_file] = completed_process(text_lines, process_file)
except AttributeError, AssertionError:
except (AttributeError, AssertionError):
print(f"Error procesing {process_file} with language {language_id}")
continue
return output_anki_package(process_folder, results)