Linting and tpyo
This commit is contained in:
parent
9363840042
commit
e3c8c92198
@ -71,6 +71,7 @@ class SerialReader(object):
|
|||||||
yield self.telegram_parser.parse(telegram)
|
yield self.telegram_parser.parse(telegram)
|
||||||
telegram = []
|
telegram = []
|
||||||
|
|
||||||
|
|
||||||
class AsyncSerialReader(SerialReader):
|
class AsyncSerialReader(SerialReader):
|
||||||
"""Serial reader using asyncio pyserial."""
|
"""Serial reader using asyncio pyserial."""
|
||||||
|
|
||||||
@ -110,4 +111,3 @@ class AsyncSerialReader(SerialReader):
|
|||||||
# push new parsed telegram onto queue
|
# push new parsed telegram onto queue
|
||||||
queue.put_nowait(self.telegram_parser.parse(telegram))
|
queue.put_nowait(self.telegram_parser.parse(telegram))
|
||||||
telegram = []
|
telegram = []
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user