From b5c14691b0ca93b6e56b5ae6bf059f3b58dde90f Mon Sep 17 00:00:00 2001 From: Johannes Mueller Date: Wed, 18 Nov 2015 19:59:51 +0100 Subject: [PATCH] Make it handle #reply messages properly. --- txosc/osc.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/txosc/osc.py b/txosc/osc.py index 6e074ce..8ca178c 100644 --- a/txosc/osc.py +++ b/txosc/osc.py @@ -707,6 +707,8 @@ def _stringFromBinary(data): def _elementFromBinary(data): if data[0] == "/": element, data = Message.fromBinary(data) + elif data.startswith("#reply"): + element, data = Message.fromBinary(data) elif data[0] == "#": element, data = Bundle.fromBinary(data) else: