Remove eol kwarg that are only supported by pyserial.FileLike.readline, and not io.RawIOBase.readline

This commit is contained in:
Stein Magnus Jodal 2011-04-29 20:25:07 +02:00
parent 8df4505b97
commit 1695507210

View File

@ -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