misc: small fix or general refactoring i did not bother commenting

This commit is contained in:
Simone Margaritelli 2019-10-13 17:45:34 +02:00
parent 1808392a1d
commit 1215fda459
No known key found for this signature in database
GPG Key ID: 82E42E7F3B34C97E

@ -1,5 +1,6 @@
import _thread
import logging
import time
import pwnagotchi
import pwnagotchi.utils as utils
@ -87,3 +88,5 @@ class AsyncAdvertiser(object):
except Exception as e:
logging.error("error while polling pwngrid-peer: %s" % e)
time.sleep(1)