diff --git a/cps/kobo_auth.py b/cps/kobo_auth.py index 7424f13f..e37090a1 100644 --- a/cps/kobo_auth.py +++ b/cps/kobo_auth.py @@ -26,7 +26,9 @@ When first booting a Kobo device the user must sign into a Kobo (or affiliate) a Upon successful sign-in, the user is redirected to https://auth.kobobooks.com/CrossDomainSignIn?id= which serves the following response: - . + And triggers the insertion of a userKey into the device's User table. Together, the device's DeviceId and UserKey act as an *irrevocable* authentication diff --git a/cps/services/SyncToken.py b/cps/services/SyncToken.py index 21f16acc..63d82ac0 100644 --- a/cps/services/SyncToken.py +++ b/cps/services/SyncToken.py @@ -103,7 +103,7 @@ class SyncToken(): data_json = sync_token_json["data"] validate(sync_token_json, SyncToken.data_schema_v1) - except (exceptions.ValidationError, ValueError) as e: + except (exceptions.ValidationError, ValueError): log.error("Sync token contents do not follow the expected json schema.") return SyncToken()