Update build

Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
This commit is contained in:
jayofelony
2024-11-19 19:43:11 +01:00
parent 7108edc2ad
commit 1d216a959c

View File

@ -396,8 +396,7 @@ class auto_tune(plugins.Plugin):
def on_ui_update(self, ui): def on_ui_update(self, ui):
try: try:
stats = self._chistos mode = 'AT'
mode = 'AT(%d/%d)' % (stats.get('Current APs', {}).get(-1, 0), stats.get('Unique APs', {}).get(-1, 0))
ui.set('mode', mode) ui.set('mode', mode)
except Exception as e: except Exception as e:
logging.exception(e) logging.exception(e)