mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
Update auto-update
This commit is contained in:
@ -163,6 +163,7 @@ class AutoUpdate(plugins.Plugin):
|
|||||||
self.ready = False
|
self.ready = False
|
||||||
self.status = StatusFile('/root/.auto-update')
|
self.status = StatusFile('/root/.auto-update')
|
||||||
self.lock = Lock()
|
self.lock = Lock()
|
||||||
|
self.options = dict()
|
||||||
|
|
||||||
def on_loaded(self):
|
def on_loaded(self):
|
||||||
if 'interval' not in self.options or ('interval' in self.options and not self.options['interval']):
|
if 'interval' not in self.options or ('interval' in self.options and not self.options['interval']):
|
||||||
|
Reference in New Issue
Block a user