This commit is contained in:
Wolfang Torres
2026-07-24 00:13:05 +08:00
parent 8efebfb5ed
commit af0934ea5a

View File

@@ -316,7 +316,7 @@ def folder_proccess(process_folder: ProcessFolder, language_id: str):
line.strip() for line in file.readlines() if line.strip() line.strip() for line in file.readlines() if line.strip()
] ]
results[process_file] = completed_process(text_lines, process_file) 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}") print(f"Error procesing {process_file} with language {language_id}")
continue continue
return output_anki_package(process_folder, results) return output_anki_package(process_folder, results)