fix error when reimport goodread profile
This commit is contained in:
parent
90077fb70a
commit
3318220348
1 changed files with 1 additions and 1 deletions
|
@ -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}个标记。')
|
||||
|
|
Loading…
Add table
Reference in a new issue