Merge pull request #1279 from bookwyrm-social/import-fix

Fixing bug preventing csv imports to match via title/author
This commit is contained in:
Mouse Reeve 2021-08-10 15:43:12 -06:00 committed by GitHub
commit 533c9563eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -80,7 +80,7 @@ class ImportItem(models.Model):
else:
# don't fall back on title/author search is isbn is present.
# you're too likely to mismatch
self.get_book_from_title_author()
self.book = self.get_book_from_title_author()
def get_book_from_isbn(self):
"""search by isbn"""