Kaydet (Commit) 31677886 authored tarafından Jack Jansen's avatar Jack Jansen

Fix by Dan Green and Corran Webster to support LongDateTime

values. Untested by me.
üst cebda6f5
......@@ -162,6 +162,9 @@ def unpack(desc):
return mkkeyword(desc.data)
if t == typeLongInteger:
return struct.unpack('l', desc.data)[0]
if t == typeLongDateTime:
a, b = struct.unpack('lL', desc.data)
return (long(a) << 32) + b
if t == typeNull:
return None
if t == typeMagnitude:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment