From 16955072101fa82542c002865fc0b51dd77f642c Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Fri, 29 Apr 2011 20:25:07 +0200 Subject: [PATCH] Remove eol kwarg that are only supported by pyserial.FileLike.readline, and not io.RawIOBase.readline --- mopidy/mixers/nad.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mopidy/mixers/nad.py b/mopidy/mixers/nad.py index bd53376e..62f38bb7 100644 --- a/mopidy/mixers/nad.py +++ b/mopidy/mixers/nad.py @@ -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