Fix asyncore pipe dispatch for py3
This commit is contained in:
@@ -102,7 +102,7 @@ class _AsyncorePipeDispatcher(_AsyncoreDispatcher):
|
|||||||
def notify_loop(self):
|
def notify_loop(self):
|
||||||
if not self._notified:
|
if not self._notified:
|
||||||
self._notified = True
|
self._notified = True
|
||||||
os.write(self.write_fd, 'x')
|
os.write(self.write_fd, b'x')
|
||||||
|
|
||||||
|
|
||||||
class _AsyncoreUDPDispatcher(_AsyncoreDispatcher):
|
class _AsyncoreUDPDispatcher(_AsyncoreDispatcher):
|
||||||
|
|||||||
Reference in New Issue
Block a user