Cast command to str when calling show_debug_msg
Throws exception otherwise.
This commit is contained in:
parent
6dc4a13851
commit
2924b34401
@ -1298,7 +1298,7 @@ class NodeConn(asyncore.dispatcher):
|
||||
t.deserialize(f)
|
||||
self.got_message(t)
|
||||
else:
|
||||
self.show_debug_msg("Unknown command: '" + command + "' " +
|
||||
self.show_debug_msg("Unknown command: '" + str(command) + "' " +
|
||||
repr(msg))
|
||||
except Exception as e:
|
||||
print('got_data:', repr(e))
|
||||
|
Loading…
Reference in New Issue
Block a user