small bugfix
This commit is contained in:
@@ -313,7 +313,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)
|
||||||
|
|||||||
Reference in New Issue
Block a user