Fixed #968. Needed to send a byte string to telnet not a normal string.
This commit is contained in:
parent
a643883d06
commit
1ac3f691b4
1 changed files with 1 additions and 1 deletions
|
@ -264,7 +264,7 @@ class PypoFetch(Thread):
|
|||
command = ('vars.stream_metadata_type %s\n' % stream_format).encode('utf-8')
|
||||
self.logger.info(command)
|
||||
tn.write(command)
|
||||
tn.write('exit\n')
|
||||
tn.write('exit\n'.encode('ascii'))
|
||||
tn.read_all()
|
||||
except Exception as e:
|
||||
self.logger.exception(e)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue