diff options
author | Alexandru Fikl <alexfikl@gmail.com> | 2024-05-23 10:49:22 +0200 |
---|---|---|
committer | Alex Fikl <alexfikl@gmail.com> | 2024-05-23 15:14:33 +0300 |
commit | c32c763f3a4b43902b321f712964279cd0238ebe (patch) | |
tree | 5c52532496d1522fbd8ae92614ec415b5a5bc9ce | |
parent | 998db1620e5f7b71ddc3f3d512eb3e064bb4c066 (diff) |
-rw-r--r-- | papis/commands/doctor.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/papis/commands/doctor.py b/papis/commands/doctor.py index bb61aa6a..ce62cdec 100644 --- a/papis/commands/doctor.py +++ b/papis/commands/doctor.py @@ -524,7 +524,7 @@ def biblatex_type_alias_check(doc: papis.document.Document) -> List[Error]: errors = bibtex_type_check(doc) if errors: - return errors + return [e._replace(name=BIBLATEX_TYPE_ALIAS_CHECK_NAME) for e in errors] bib_type = doc["type"] bib_type_base = bibtex_type_aliases.get(bib_type) @@ -597,7 +597,7 @@ def biblatex_required_keys_check(doc: papis.document.Document) -> List[Error]: errors = bibtex_type_check(doc) if errors: - return errors + return [e._replace(name=BIBLATEX_REQUIRED_KEYS_CHECK_NAME) for e in errors] # translate bibtex type bib_type = doc["type"] |