Skip to content

Commit

Permalink
Fixed incorrect named argument to on_connection_resumed callback (Por…
Browse files Browse the repository at this point in the history
…ted fix from #121) (#125)
  • Loading branch information
Justin Boswell authored Feb 4, 2020
1 parent 085c5e0 commit 0f950ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion awscrt/mqtt.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ def _on_connection_resumed(self, return_code, session_present):
if self._on_connection_resumed_cb:
self._on_connection_resumed_cb(
connection=self,
error=ConnectReturnCode(return_code),
return_code=ConnectReturnCode(return_code),
session_present=session_present)

def _ws_handshake_transform(self, http_request_binding, http_headers_binding, native_userdata):
Expand Down

0 comments on commit 0f950ea

Please sign in to comment.