mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-23 10:01:04 +00:00
Import books with either a rating or a review.
This commit is contained in:
parent
5bcf65a8a1
commit
b5a5a63e88
1 changed files with 1 additions and 1 deletions
|
@ -364,7 +364,7 @@ def import_data(request):
|
|||
encoding=request.encoding)):
|
||||
if item.book:
|
||||
results.append(item)
|
||||
if item.rating:
|
||||
if item.rating or item.review:
|
||||
reviews.append(item)
|
||||
else:
|
||||
failures.append(item)
|
||||
|
|
Loading…
Reference in a new issue