mirror of
https://github.com/meshtastic/python.git
synced 2026-01-08 15:57:57 -05:00
Add missed colon in if statement
This commit is contained in:
@@ -202,7 +202,7 @@ def _receiveInfoUpdate(iface, asDict):
|
||||
def _onAdminReceive(iface, asDict):
|
||||
"""Special auto parsing for received messages"""
|
||||
logging.debug(f"in _onAdminReceive() asDict:{asDict}")
|
||||
if "decoded" in asDict and "from" in asDict and "admin" in asDict["decoded"]
|
||||
if "decoded" in asDict and "from" in asDict and "admin" in asDict["decoded"]:
|
||||
adminMessage: admin_pb2.AdminMessage = asDict["decoded"]["admin"]["raw"]
|
||||
iface._getOrCreateByNum(asDict["from"])["adminSessionPassKey"] = adminMessage.session_passkey
|
||||
|
||||
|
||||
Reference in New Issue
Block a user