Remove eol kwarg that are only supported by pyserial.FileLike.readline, and not io.RawIOBase.readline
This commit is contained in:
parent
8df4505b97
commit
1695507210
@ -190,7 +190,7 @@ class NadTalker(ThreadingActor):
|
||||
# trailing whitespace.
|
||||
if not self._device.isOpen():
|
||||
self._device.open()
|
||||
result = self._device.readline(eol='\n').strip()
|
||||
result = self._device.readline().strip()
|
||||
if result:
|
||||
logger.debug('Read: %s', result)
|
||||
return result
|
||||
|
||||
Loading…
Reference in New Issue
Block a user