mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
parse lastSync as a float to fix problem with latest simplejson
This commit is contained in:
parent
51213784a8
commit
d4235aaa34
1 changed files with 1 additions and 1 deletions
|
@ -1002,7 +1002,7 @@ class HttpSyncServer(SyncServer):
|
||||||
|
|
||||||
def summary(self, lastSync):
|
def summary(self, lastSync):
|
||||||
return self.stuff(SyncServer.summary(
|
return self.stuff(SyncServer.summary(
|
||||||
self, self.unstuff(lastSync)))
|
self, float(zlib.decompress(lastSync))))
|
||||||
|
|
||||||
def applyPayload(self, payload):
|
def applyPayload(self, payload):
|
||||||
return self.stuff(SyncServer.applyPayload(self,
|
return self.stuff(SyncServer.applyPayload(self,
|
||||||
|
|
Loading…
Reference in a new issue