Call multiprocess.connection.Connection.send_bytes with bytes

This commit is contained in:
2xB 2019-07-20 20:33:11 +02:00
parent ad7453c781
commit a655e974ff

View File

@ -458,7 +458,7 @@ class RemoteEventHandler(object):
## follow up by sending byte messages
if byteData is not None:
for obj in byteData: ## Remote process _must_ be prepared to read the same number of byte messages!
self.conn.send_bytes(obj)
self.conn.send_bytes(bytes(obj))
self.debugMsg(' sent %d byte messages', len(byteData))
self.debugMsg(' call sync: %s', callSync)