added hack to fix #21

This commit is contained in:
Pranav Jerry 2021-10-22 12:06:17 +05:30
parent 6fbebc51bb
commit 270db3cf90
No known key found for this signature in database
GPG Key ID: F1DCDC4FED0A0C5B
2 changed files with 3 additions and 1 deletions

View File

@ -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"

View File

@ -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 = []