Skip to content

Commit

Permalink
fix TestMakerClientProtocol failing with py3
Browse files Browse the repository at this point in the history
  • Loading branch information
undeath committed Dec 6, 2018
1 parent 94c1580 commit 12705b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jmclient/test/test_client_protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ def response_cb(response):

def callClient(self, jmcmd, response_cb=None, error_cb=None, **kwargs):
box = jmcmd.makeArguments(kwargs, self.client)
box[b'_command'] = jmcmd.__name__
box[b'_command'] = jmcmd.__name__.encode('utf-8')
d = self.client.dispatchCommand(box)
d.addCallback(response_cb or self.get_response_cb(jmcmd))
if error_cb:
Expand Down

0 comments on commit 12705b5

Please sign in to comment.