This commit is contained in:
Andrey
2021-01-22 21:32:55 +03:00
parent e0b4fec0ca
commit 4e2d659c44

View File

@@ -195,7 +195,8 @@ class MegaD:
def _process_msg(self, msg):
try:
_, port = msg.topic.split('/')
d = msg.topic.split('/')
port = d[-1]
except ValueError:
self.lg.warning('can not process %s', msg)
return