mirror of
https://github.com/janeczku/calibre-web
synced 2024-12-25 17:40:31 +00:00
Merge remote-tracking branch 'Synctoken/fix/kobo-sync-token'
This commit is contained in:
commit
ab11919c0b
@ -30,7 +30,7 @@ log = logger.create()
|
|||||||
|
|
||||||
|
|
||||||
def b64encode_json(json_data):
|
def b64encode_json(json_data):
|
||||||
return b64encode(json.dumps(json_data).encode())
|
return b64encode(json.dumps(json_data).encode()).decode("utf-8")
|
||||||
|
|
||||||
|
|
||||||
# Python3 has a timestamp() method we could be calling, however it's not available in python2.
|
# Python3 has a timestamp() method we could be calling, however it's not available in python2.
|
||||||
|
Loading…
Reference in New Issue
Block a user