fixed a bug with sorting

This commit is contained in:
UpstreamData
2022-05-30 14:19:57 -06:00
parent 0082037f45
commit 11d38c9c3b
2 changed files with 6 additions and 2 deletions

View File

@@ -30,6 +30,9 @@ setup(
os.path.join(os.getcwd(), "settings/settings.toml"),
os.path.join(os.getcwd(), "static/CFG-Util-README.md"),
],
"excludes": [
os.path.join(os.getcwd(), "tools/web_testbench/files"),
],
},
},
executables=[

View File

@@ -197,8 +197,9 @@ async def ui():
asyncio.create_task(btn_command(_ips, value["cmd_txt"]))
if event == "cmd_listen":
asyncio.create_task(btn_listen())
if event.endswith("cancel_listen"):
asyncio.create_task(btn_cancel_listen())
if not isinstance(event, tuple):
if event.endswith("cancel_listen"):
asyncio.create_task(btn_cancel_listen())
if event == "__TIMEOUT__":
await asyncio.sleep(0)