forked from mirrors/bookwyrm
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