mirror of
https://github.com/meshcore-dev/meshcore_py.git
synced 2026-06-11 11:56:18 +00:00
fix
This commit is contained in:
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "meshcore"
|
name = "meshcore"
|
||||||
version = "2.2.18"
|
version = "2.2.19"
|
||||||
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" },
|
||||||
|
|||||||
@@ -256,7 +256,7 @@ class MessageReader:
|
|||||||
# search for text in log_channels
|
# search for text in log_channels
|
||||||
txt_hash = int.from_bytes(SHA256.new(text).digest()[0:4], "little", signed=False)
|
txt_hash = int.from_bytes(SHA256.new(text).digest()[0:4], "little", signed=False)
|
||||||
res["txt_hash"] = txt_hash
|
res["txt_hash"] = txt_hash
|
||||||
logged = next((l for l in self.channels_log if l['msg_hash'] == txt_hash), None)
|
logged = next((l for l in self.channels_log if 'msg_hash' in l and l['msg_hash'] == txt_hash), None)
|
||||||
|
|
||||||
if self.decrypt_channels:
|
if self.decrypt_channels:
|
||||||
if not logged is None:
|
if not logged is None:
|
||||||
|
|||||||
Reference in New Issue
Block a user