diff --git a/cps/kobo.py b/cps/kobo.py index 462e4ca1..97d55db0 100644 --- a/cps/kobo.py +++ b/cps/kobo.py @@ -613,7 +613,7 @@ def create_kobo_tag(shelf): "Type": "UserTag" } for book_shelf in shelf.books: - book = calibre_db.get_book_by_uuid(book_shelf.book_id) + book = calibre_db.get_book(book_shelf.book_id) if not book: log.info(u"Book (id: %s) in BookShelf (id: %s) not found in book database", book_shelf.book_id, shelf.id) continue diff --git a/test/Calibre-Web TestSummary.html b/test/Calibre-Web TestSummary.html index 58884fcf..1feb255d 100755 --- a/test/Calibre-Web TestSummary.html +++ b/test/Calibre-Web TestSummary.html @@ -36,17 +36,17 @@
Start Time: 2020-05-22 18:17:02
+Start Time: 2020-05-23 12:52:51
Stop Time: 2020-05-22 19:14:53
+Stop Time: 2020-05-23 13:50:07
Duration: 48:49 min
+Duration: 48:28 min
Traceback (most recent call last): File "/home/matthias/Entwicklung/calibre-web-test/test/test_edit_additional_books.py", line 88, in test_upload_metadata_cbt - self.assertEqual('Test 执book', details['title']) -AssertionError: 'Test 执book' != 'book' -- Test 执book + self.assertEqual('Test 执 to', details['title']) +AssertionError: 'Test 执 to' != 'book' +- Test 执 to + book