diff --git a/dsmr_parser/protocol.py b/dsmr_parser/protocol.py index 2ee9c32..f31748f 100644 --- a/dsmr_parser/protocol.py +++ b/dsmr_parser/protocol.py @@ -9,7 +9,7 @@ from serial_asyncio import create_serial_connection from . import telegram_specifications from .exceptions import ParseError from .parsers import TelegramParserV2_2, TelegramParserV4 -from .serial import (SERIAL_SETTINGS_V2_2, SERIAL_SETTINGS_V4,TelegramBuffer) +from .serial import (SERIAL_SETTINGS_V2_2, SERIAL_SETTINGS_V4, TelegramBuffer) def create_dsmr_protocol(dsmr_version, telegram_callback, loop=None): diff --git a/dsmr_parser/serial.py b/dsmr_parser/serial.py index 54128b3..1d92ba8 100644 --- a/dsmr_parser/serial.py +++ b/dsmr_parser/serial.py @@ -68,7 +68,6 @@ class SerialReader(object): logger.error('Failed to parse telegram: %s', e) - class AsyncSerialReader(SerialReader): """Serial reader using asyncio pyserial."""