mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
@ -396,8 +396,12 @@ class auto_tune(plugins.Plugin):
|
||||
|
||||
def on_ui_update(self, ui):
|
||||
try:
|
||||
mode = 'AT'
|
||||
ui.set('mode', mode)
|
||||
if self._agent.mode == 'manual':
|
||||
mode = 'MANU'
|
||||
ui.set('mode', mode)
|
||||
else:
|
||||
mode = 'AT'
|
||||
ui.set('mode', mode)
|
||||
except Exception as e:
|
||||
logging.exception(e)
|
||||
|
||||
|
Reference in New Issue
Block a user