Fixes edition/work author correction check

This commit is contained in:
Mouse Reeve 2020-11-04 12:12:29 -08:00
parent a44edd8eab
commit 441220a547

View file

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