summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTeddy <[email protected]>2013-08-30 23:21:52 +0800
committerTeddy <[email protected]>2013-08-30 23:21:52 +0800
commitda9358f654ffd5bc5598d61853982631c9bdbd99 (patch)
tree65b91e1ffc380b9eb9465e5be2f4aa9b351499fe
parent944d5152cee8925f8da35f960063fc94b963e869 (diff)
use "l" in packing PushMarkerData
-rw-r--r--server/piztor/server.py2
1 files changed, 1 insertions, 1 deletions
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):