diff options
author | Teddy <[email protected]> | 2013-08-30 23:21:52 +0800 |
---|---|---|
committer | Teddy <[email protected]> | 2013-08-30 23:21:52 +0800 |
commit | da9358f654ffd5bc5598d61853982631c9bdbd99 (patch) | |
tree | 65b91e1ffc380b9eb9465e5be2f4aa9b351499fe | |
parent | 944d5152cee8925f8da35f960063fc94b963e869 (diff) |
use "l" in packing PushMarkerData
-rw-r--r-- | server/piztor/server.py | 2 |
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): |