Merge pull request #2447 from bookwyrm-social/fix-inventaire-import

Fixes error on importing from inventaire
This commit is contained in:
Mouse Reeve 2022-11-25 10:54:10 -08:00 committed by GitHub
commit ccb60f45c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -165,8 +165,8 @@ class Connector(AbstractConnector):
edition_data = self.get_book_data(edition_data)
except ConnectorException:
# who, indeed, knows
return
super().create_edition_from_data(work, edition_data, instance=instance)
return None
return super().create_edition_from_data(work, edition_data, instance=instance)
def get_cover_url(self, cover_blob, *_):
"""format the relative cover url into an absolute one: