misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
1808392a1d
commit
1215fda459
@ -1,5 +1,6 @@
|
|||||||
import _thread
|
import _thread
|
||||||
import logging
|
import logging
|
||||||
|
import time
|
||||||
|
|
||||||
import pwnagotchi
|
import pwnagotchi
|
||||||
import pwnagotchi.utils as utils
|
import pwnagotchi.utils as utils
|
||||||
@ -87,3 +88,5 @@ class AsyncAdvertiser(object):
|
|||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logging.error("error while polling pwngrid-peer: %s" % e)
|
logging.error("error while polling pwngrid-peer: %s" % e)
|
||||||
|
|
||||||
|
time.sleep(1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user