Merge pull request #759 from nmerlene/master

Python 3 Compatibility for variable_server.py
This commit is contained in:
dbankieris 2019-04-25 07:39:45 -05:00 committed by GitHub
commit 16fef4eaa9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -860,7 +860,7 @@ class VariableServer(object):
self.Channel.BOTH: [self._synchronous_socket, self.Channel.BOTH: [self._synchronous_socket,
self._asynchronous_socket] self._asynchronous_socket]
}[channel]: }[channel]:
channel.sendall(command) channel.sendall(command.encode())
def readline(self, synchronous_channel=True): def readline(self, synchronous_channel=True):
""" """