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:
@ -55,6 +55,8 @@ def check(version, repo, native=True):
|
|||||||
def on_internet_available(agent):
|
def on_internet_available(agent):
|
||||||
global STATUS
|
global STATUS
|
||||||
|
|
||||||
|
logging.debug("[update] internet connectivity is available (ready %s)" % READY)
|
||||||
|
|
||||||
if READY:
|
if READY:
|
||||||
if STATUS.newer_then_hours(OPTIONS['interval']):
|
if STATUS.newer_then_hours(OPTIONS['interval']):
|
||||||
logging.debug("[update] last check happened less than %d hours ago" % OPTIONS['interval'])
|
logging.debug("[update] last check happened less than %d hours ago" % OPTIONS['interval'])
|
||||||
|
Reference in New Issue
Block a user