mirror of
https://github.com/meshcore-dev/meshcore_py.git
synced 2026-04-20 22:13:49 +00:00
there is still a strange bug with path_len
This commit is contained in:
parent
01471c0d24
commit
5e4663d058
2 changed files with 4 additions and 2 deletions
|
|
@ -120,7 +120,9 @@ class ContactCommands(CommandHandlerBase):
|
|||
res = await self.send_device_query()
|
||||
if not res is None and res.type != EventType.ERROR:
|
||||
if "path_hash_mode" in res.payload:
|
||||
path_hash_size = res.payload["path_hash_mode"] + 1
|
||||
path_hash_mode = res.payload["path_hash_mode"]
|
||||
else:
|
||||
path_hash_mode = 0
|
||||
else:
|
||||
if ":" in path: # remove as it has been specified in args
|
||||
path = path.split(":")[0].replace(":","")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue