mirror of
https://github.com/meshcore-dev/meshcore_py.git
synced 2026-06-11 11:56:18 +00:00
fix logout
This commit is contained in:
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "meshcore"
|
name = "meshcore"
|
||||||
version = "0.4.1"
|
version = "0.4.2"
|
||||||
authors = [
|
authors = [
|
||||||
{ name="Florent de Lamotte", email="florent@frizoncorrea.fr" },
|
{ name="Florent de Lamotte", email="florent@frizoncorrea.fr" },
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -350,7 +350,7 @@ class MeshCore:
|
|||||||
|
|
||||||
async def send_logout(self, dst):
|
async def send_logout(self, dst):
|
||||||
self.login_resp = asyncio.Future()
|
self.login_resp = asyncio.Future()
|
||||||
data = b"\x1d" + dst + pwd.encode("ascii")
|
data = b"\x1d" + dst
|
||||||
return await self.send(data)
|
return await self.send(data)
|
||||||
|
|
||||||
async def send_statusreq(self, dst):
|
async def send_statusreq(self, dst):
|
||||||
|
|||||||
Reference in New Issue
Block a user