mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
@ -38,6 +38,7 @@ class auto_tune(plugins.Plugin):
|
||||
self._active_channels = [] # list of channels with APs found in last scan
|
||||
self._known_aps = {} # dict of all APs by normalized name+mac
|
||||
self._known_clients = {} # dict of all clients by normalized APmac+STAmac (many clients to not have names)
|
||||
self._agent = None
|
||||
|
||||
self.descriptions = { # descriptions of personality variables displayed in webui
|
||||
"advertise": "enable/disable advertising to mesh peers",
|
||||
@ -395,10 +396,6 @@ class auto_tune(plugins.Plugin):
|
||||
|
||||
def on_ui_update(self, ui):
|
||||
try:
|
||||
if self._agent.mode == 'manual':
|
||||
mode = 'MANU'
|
||||
ui.set('mode', mode)
|
||||
else:
|
||||
mode = 'AT'
|
||||
ui.set('mode', mode)
|
||||
except Exception as e:
|
||||
|
Reference in New Issue
Block a user