fix error when reimport goodread profile

This commit is contained in:
Your Name 2022-04-30 22:00:50 -04:00
parent 90077fb70a
commit 3318220348

View file

@ -80,7 +80,7 @@ class GoodreadsImporter:
mark = BookMark.objects.create(**params)
mark.book.update_rating(None, mark.rating)
except Exception:
print(f'Skip mark for {mark.book}')
print(f'Skip mark for {book["book"]}')
pass
total += 1
msg.success(user, f'成功从Goodreads用户主页导入{total}个标记。')