mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-26 19:41:11 +00:00
Fixes edition/work author correction check
This commit is contained in:
parent
a44edd8eab
commit
441220a547
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue