mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-27 03:51:08 +00:00
Don't set default edition if it's already set
This commit is contained in:
parent
5e2555dc0e
commit
4c2ec43fce
1 changed files with 3 additions and 2 deletions
|
@ -145,6 +145,7 @@ class AbstractConnector(AbstractMinimalConnector):
|
|||
edition.connector = self.connector
|
||||
edition.save()
|
||||
|
||||
if not work.default_edition:
|
||||
work.default_edition = edition
|
||||
work.save()
|
||||
|
||||
|
|
Loading…
Reference in a new issue