Fix asyncore pipe dispatch for py3

This commit is contained in:
Adam Holmberg
2016-05-04 13:55:47 -05:00
parent 48cfcd0034
commit d30da191ca

View File

@@ -102,7 +102,7 @@ class _AsyncorePipeDispatcher(_AsyncoreDispatcher):
def notify_loop(self):
if not self._notified:
self._notified = True
os.write(self.write_fd, 'x')
os.write(self.write_fd, b'x')
class _AsyncoreUDPDispatcher(_AsyncoreDispatcher):