Fixed a bug in splitting long AMP messages as per #750.

This commit is contained in:
Griatch 2015-05-25 21:17:00 +02:00
parent fbb9f8a279
commit c67aa4efc5

View file

@ -345,7 +345,7 @@ class AMPProtocol(amp.AMP):
return []
else:
# all parts in place - deserialize it
return loads(_MSGBUFFER.pop(hashid) + data)
return loads("".join(_MSGBUFFER.pop(hashid)) + data)
# Message definition + helper methods to call/create each message type