mirror of
https://github.com/meshcore-dev/meshcore_py.git
synced 2026-06-11 11:56:18 +00:00
there is still a strange bug with path_len
This commit is contained in:
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "meshcore"
|
name = "meshcore"
|
||||||
version = "2.2.29"
|
version = "2.2.30"
|
||||||
authors = [
|
authors = [
|
||||||
{ name="Florent de Lamotte", email="florent@frizoncorrea.fr" },
|
{ name="Florent de Lamotte", email="florent@frizoncorrea.fr" },
|
||||||
{ name="Alex Wolden", email="awolden@gmail.com" },
|
{ name="Alex Wolden", email="awolden@gmail.com" },
|
||||||
|
|||||||
@@ -120,7 +120,9 @@ class ContactCommands(CommandHandlerBase):
|
|||||||
res = await self.send_device_query()
|
res = await self.send_device_query()
|
||||||
if not res is None and res.type != EventType.ERROR:
|
if not res is None and res.type != EventType.ERROR:
|
||||||
if "path_hash_mode" in res.payload:
|
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:
|
else:
|
||||||
if ":" in path: # remove as it has been specified in args
|
if ":" in path: # remove as it has been specified in args
|
||||||
path = path.split(":")[0].replace(":","")
|
path = path.split(":")[0].replace(":","")
|
||||||
|
|||||||
Reference in New Issue
Block a user