1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-11-24 19:04:49 +00:00

Suppress some errors

This commit is contained in:
Ozzie Isaacs
2021-03-15 13:48:05 +01:00
parent 9a963bbe79
commit b75247ea3a
11 changed files with 18 additions and 18 deletions

View File

@@ -22,6 +22,7 @@ from base64 import b64decode, b64encode
from jsonschema import validate, exceptions, __version__
from datetime import datetime
try:
# pylint: disable=unused-import
from urllib import unquote
except ImportError:
from urllib.parse import unquote
@@ -91,14 +92,14 @@ class SyncToken:
def __init__(
self,
raw_kobo_store_token="", # nosec
raw_kobo_store_token="",
books_last_created=datetime.min,
books_last_modified=datetime.min,
archive_last_modified=datetime.min,
reading_state_last_modified=datetime.min,
tags_last_modified=datetime.min,
books_last_id=-1
):
): # nosec
self.raw_kobo_store_token = raw_kobo_store_token
self.books_last_created = books_last_created
self.books_last_modified = books_last_modified