Browse Source

Fix wrong page table name for KOReader

Colin Powell 2 years ago
parent
commit
84070d2806
1 changed files with 1 additions and 1 deletions
  1. 1 1
      vrobbler/apps/books/koreader.py

+ 1 - 1
vrobbler/apps/books/koreader.py

@@ -197,7 +197,7 @@ def process_koreader_sqlite_url(file_url, user_id) -> list:
         if table_name == "book":
             book_id_map = get_book_map_from_sqlite(rows)
 
-        if table_name == "page":
+        if table_name == "page_stat_data":
             new_scrobbles = build_scrobbles_from_pages(
                 rows, book_id_map, user_id
             )