Fix modal path id for calibre db filepicker

Fix SyncToken last-Book-id missing
This commit is contained in:
Ozzieisaacs
2020-12-30 10:05:15 +01:00
parent d33b0587cb
commit bde7921016
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -144,6 +144,8 @@ class SyncToken:
except TypeError:
log.error("SyncToken timestamps don't parse to a datetime.")
return SyncToken(raw_kobo_store_token=raw_kobo_store_token)
except KeyError:
books_last_id = -1
return SyncToken(
raw_kobo_store_token=raw_kobo_store_token,