Remove the message type enum.
This commit is contained in:
parent
9f70a1440b
commit
bf0bffc879
4 changed files with 17 additions and 33 deletions
4
main.py
4
main.py
|
|
@ -249,7 +249,9 @@ def receive_cb(server_name, file_descriptor):
|
|||
prnt_debug(DebugType.MESSAGING, server,
|
||||
("{prefix}Received message of type {t} and "
|
||||
"status {s}").format(
|
||||
prefix=W.prefix("error"), t=message.type, s=status))
|
||||
prefix=W.prefix("error"),
|
||||
t=message.__class__.__name__,
|
||||
s=status))
|
||||
|
||||
# Message done, reset the parser state.
|
||||
server.reset_parser()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue