parse lastSync as a float to fix problem with latest simplejson

This commit is contained in:
Damien Elmes 2009-04-11 01:05:35 +09:00
parent 51213784a8
commit d4235aaa34

View file

@ -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,