Skip to content

Commit

Permalink
changed encoding function in gagazmq/gagaworker
Browse files Browse the repository at this point in the history
  • Loading branch information
jdisset committed Jan 30, 2020
1 parent 8290da1 commit c118554
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extra/gagazmq/python/gagaworker.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def encodeMsg(self, msg):
if self.compression:
return msgpack.packb(msg)
else:
return bytes(json.dumps(msg)).encode('utf-8')
return bytes(json.dumps(msg), encoding='utf-8')

def decodeMsg(self, msg):
if self.compression:
Expand Down

0 comments on commit c118554

Please sign in to comment.