mirror of
https://github.com/meshcore-dev/meshcore_py.git
synced 2026-06-16 14:58:13 +00:00
solved issue when no custom variable
This commit is contained in:
@@ -205,6 +205,7 @@ class MessageReader:
|
||||
logger.debug(f"received custom vars response: {data.hex()}")
|
||||
res = {}
|
||||
rawdata = data[1:].decode()
|
||||
if not rawdata == "" :
|
||||
pairs = rawdata.split(",")
|
||||
for p in pairs :
|
||||
psplit = p.split(":")
|
||||
|
||||
Reference in New Issue
Block a user