Compare commits

..

1 Commits

Author SHA1 Message Date
Andrey
4e2d659c44 fix mid 2021-01-22 21:32:55 +03:00

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