mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
@ -67,6 +67,9 @@ class AsyncAdvertiser(object):
|
|||||||
plugins.on('peer_lost', self, peer)
|
plugins.on('peer_lost', self, peer)
|
||||||
|
|
||||||
def _adv_poller(self):
|
def _adv_poller(self):
|
||||||
|
# give the system a few seconds to start the first time so that any expressions
|
||||||
|
# due to nearby units will be rendered properly
|
||||||
|
time.sleep(20)
|
||||||
while True:
|
while True:
|
||||||
try:
|
try:
|
||||||
logging.debug("polling pwngrid-peer for peers ...")
|
logging.debug("polling pwngrid-peer for peers ...")
|
||||||
|
Reference in New Issue
Block a user