From 441220a547be271f6534f631f71df9c4cbc7d96e Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Wed, 4 Nov 2020 12:12:29 -0800 Subject: [PATCH] Fixes edition/work author correction check --- bookwyrm/connectors/abstract_connector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bookwyrm/connectors/abstract_connector.py b/bookwyrm/connectors/abstract_connector.py index 215d0510..8889932d 100644 --- a/bookwyrm/connectors/abstract_connector.py +++ b/bookwyrm/connectors/abstract_connector.py @@ -134,7 +134,7 @@ class AbstractConnector(ABC): work.save() # now's our change to fill in author gaps - if not edition.authors and work.authors: + if not edition.authors.exists() and work.authors.exists(): edition.authors.set(work.authors.all()) edition.author_text = work.author_text edition.save()