From 270db3cf901c8906505be81464a05f1404b8be4d Mon Sep 17 00:00:00 2001 From: Pranav Jerry Date: Fri, 22 Oct 2021 12:06:17 +0530 Subject: [PATCH] added hack to fix #21 --- naxalnet/__init__.py | 2 +- naxalnet/scripts.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/naxalnet/__init__.py b/naxalnet/__init__.py index 0af1e6f..c5e7123 100644 --- a/naxalnet/__init__.py +++ b/naxalnet/__init__.py @@ -42,4 +42,4 @@ given below. # # In case you forgot to change the version, skip the number # and put the next number in the next commit. -__version__ = "0.5.0a1.dev2" +__version__ = "0.5.0a1.dev3" diff --git a/naxalnet/scripts.py b/naxalnet/scripts.py index 89dd382..c3793c4 100644 --- a/naxalnet/scripts.py +++ b/naxalnet/scripts.py @@ -117,6 +117,8 @@ def setup_devices(): """ try: notify("STATUS=Setting up mesh...") + # This is a terrible hack to fix #21. See the issue for more details + time.sleep(2) iwd = IWD() devices = iwd.get_devices() adhoc_devices = []