Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tornadio2/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,11 +403,11 @@ def raw_message(self, msg):
# Fix for the http://bugs.python.org/issue4978 for older Python versions
str_args = dict((str(x), y) for x, y in args[0].iteritems())

ack_response = conn.on_event(event['name'], kwargs=str_args)
ack_response = conn.on_event(event['name'], msg_id=msg_id, kwargs=str_args)
else:
ack_response = conn.on_event(event['name'], args=args)
ack_response = conn.on_event(event['name'], msg_id=msg_id, args=args)

if msg_id:
if ack_response is not None and msg_id:
if msg_id.endswith('+'):
msg_id = msg_id[:-1]

Expand Down