Add button to force full kobo sync

This commit is contained in:
Ozzie Isaacs
2021-12-06 21:02:06 +01:00
parent 7d67168a4a
commit 9d9acb058d
5 changed files with 49 additions and 7 deletions
+1 -1
View File
@@ -209,7 +209,7 @@ def HandleSyncRequest():
books = calibre_db.session.execute(changed_entries.limit(SYNC_ITEM_LIMIT))
else:
books = changed_entries.limit(SYNC_ITEM_LIMIT)
log.debug("Books to Sync: {}".format(books.count()))
log.debug("Books to Sync: {}".format(len(books.all())))
for book in books:
formats = [data.format for data in book.Books.data]
if not 'KEPUB' in formats and config.config_kepubifypath and 'EPUB' in formats: