re-adding ascii decoding at telegram level

This commit is contained in:
Gunnar Klauberg 2021-11-14 22:20:00 +00:00
parent de4dc2ec98
commit 7a89d6e97b

View File

@ -134,6 +134,7 @@ class DSMRProtocol(asyncio.Protocol):
self.log.debug('got telegram: %s', telegram)
try:
telegram = telegram.decode("ascii")
parsed_telegram = self.telegram_parser.parse(telegram)
except InvalidChecksumError as e:
self.log.warning(str(e))