Remove returned None to make pylint happy

This commit is contained in:
Joeri de Ruiter 2023-08-21 14:00:09 +02:00
parent 0f2c0c034d
commit 2e88e73509

View file

@ -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)