From aa8e63b31ccecbfe193e4ac539c1d3668852ce6f Mon Sep 17 00:00:00 2001 From: nariakiiwatani Date: Fri, 3 Jun 2016 20:18:05 +0900 Subject: [PATCH] Add long(int64) support --- OSC.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OSC.py b/OSC.py index a65ae20..fb2f9fb 100755 --- a/OSC.py +++ b/OSC.py @@ -872,7 +872,7 @@ def _readDouble(data): def decodeOSC(data): """Converts a binary OSC message to a Python list. """ - table = {"i":_readInt, "f":_readFloat, "s":_readString, "b":_readBlob, "d":_readDouble, "t":_readTimeTag} + table = {"i":_readInt, "h":_readLong, "f":_readFloat, "s":_readString, "b":_readBlob, "d":_readDouble, "t":_readTimeTag} decoded = [] address, rest = _readString(data) if address.startswith(","):