From 5ee8bd0dec4f03bd817b4815e718f2123da1e1a7 Mon Sep 17 00:00:00 2001 From: Gerit Wagner Date: Tue, 28 Jan 2025 14:09:57 +0100 Subject: [PATCH] update --- labot/notes.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/labot/notes.py b/labot/notes.py index 3051f47..c44ca36 100644 --- a/labot/notes.py +++ b/labot/notes.py @@ -80,7 +80,10 @@ def import_missing_references(missing_references: list, references: dict) -> Non ) retrieved_record_dict = new_record_object.data - except colrev_exceptions.RecordNotInIndexException: + except ( + colrev_exceptions.RecordNotInIndexException, + colrev_exceptions.InvalidPDFException, + ): tei = colrev.env.tei_parser.TEIParser( environment_manager=environment_manager,