Commit 55956c93 authored by Chui Tey's avatar Chui Tey

Fixed bug: Split RPC message into two parts instead of three

parent 9aa97e83
......@@ -121,7 +121,7 @@ class CommandProtocol:
def _decode_msg(self, msg):
seqno = self.decode_seqno(msg[:self.SEQNO_ENC_LEN])
msg = msg[self.SEQNO_ENC_LEN:]
parts = msg.split(" ", 2)
parts = msg.split(" ", 1)
if len(parts) == 1:
cmd = msg
arg = ''
......
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