From da9358f654ffd5bc5598d61853982631c9bdbd99 Mon Sep 17 00:00:00 2001 From: Teddy Date: Fri, 30 Aug 2013 23:21:52 +0800 Subject: use "l" in packing PushMarkerData --- server/piztor/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server') diff --git a/server/piztor/server.py b/server/piztor/server.py index bc342be..26ccc4b 100644 --- a/server/piztor/server.py +++ b/server/piztor/server.py @@ -88,7 +88,7 @@ class PushLocationData(PushData): class PushMarkerData(PushData): def __init__(self, lat, lng, deadline): - self.pack(0x02, struct.pack("!ddL", lat, lng, deadline)) + self.pack(0x02, struct.pack("!ddl", lat, lng, deadline)) class PushTunnel(object): def __init__(self, uid): -- cgit v1.2.3-70-g09d2