Skip to content

Commit

Permalink
fix unicode issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias Oberstein committed Jan 31, 2016
1 parent 8bef1fa commit 63d95de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autobahn/wamp/protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -933,7 +933,7 @@ def onClose(self, wasClean):

if self._session_id:
# fire callback and close the transport
d = txaio.as_future(self.onLeave, types.CloseDetails(reason=types.CloseDetails.REASON_TRANSPORT_LOST, message="WAMP transport was lost without closing the session before"))
d = txaio.as_future(self.onLeave, types.CloseDetails(reason=types.CloseDetails.REASON_TRANSPORT_LOST, message=u"WAMP transport was lost without closing the session before"))

def _error(e):
return self._swallow_error(e, "While firing onLeave")
Expand Down

0 comments on commit 63d95de

Please sign in to comment.