mirror of
https://github.com/nasa/trick.git
synced 2025-03-11 15:04:14 +00:00
Merge pull request #759 from nmerlene/master
Python 3 Compatibility for variable_server.py
This commit is contained in:
commit
16fef4eaa9
@ -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):
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user