Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d913118

Browse files
committed
Print correctly zmq identity when debugging.
1 parent 22e9750 commit d913118

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zerorpc/events.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ def __str__(self, ignore_args=False):
210210
except Exception:
211211
pass
212212
if self._identity:
213-
identity = ', '.join(repr(x) for x in self._identity)
213+
identity = ', '.join(repr(x.bytes) for x in self._identity)
214214
return '<{0}> {1} {2} {3}'.format(identity, self._name,
215215
self._header, args)
216216
return '{0} {1} {2}'.format(self._name, self._header, args)

0 commit comments

Comments
 (0)