Skip to content

Commit

Permalink
str-ify hostname
Browse files Browse the repository at this point in the history
  • Loading branch information
sideshowdave7 committed Apr 18, 2017
1 parent c192744 commit b613e0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eventmq/sender.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def rebuild(self, *args, **kwargs):
self.zsocket.close()

self.zsocket = kwargs.pop('socket', self.zcontext.socket(zmq.DEALER))
self.zsocket.setsockopt(zmq.IDENTITY, self.name)
self.zsocket.setsockopt_string(zmq.IDENTITY, self.name)

self.status = constants.STATUS.ready

Expand Down

0 comments on commit b613e0f

Please sign in to comment.