From 2e88e73509f6b226e564697e2203981542603689 Mon Sep 17 00:00:00 2001 From: Joeri de Ruiter Date: Mon, 21 Aug 2023 14:00:09 +0200 Subject: [PATCH] Remove returned None to make pylint happy --- bookwyrm/utils/isni.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bookwyrm/utils/isni.py b/bookwyrm/utils/isni.py index e3b2c65f3..0d0a86887 100644 --- a/bookwyrm/utils/isni.py +++ b/bookwyrm/utils/isni.py @@ -213,7 +213,7 @@ def augment_author_metadata(author: models.Author, isni: str) -> None: isni_author = get_author_from_isni(isni) if isni_author is None: - return None + return isni_author.to_model(model=models.Author, instance=author, overwrite=False)