mirror of
https://github.com/andvikt/mega_hacs.git
synced 2025-12-12 01:24:29 +05:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4e2d659c44 |
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user