Update build

Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
This commit is contained in:
jayofelony
2024-11-22 08:01:59 +01:00
parent ccf491a5dc
commit e9b4667ffc

View File

@ -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)