From 1d216a959cde0edfce2a682fe36a99b6b88a9bba Mon Sep 17 00:00:00 2001 From: jayofelony Date: Tue, 19 Nov 2024 19:43:11 +0100 Subject: [PATCH] Update build Signed-off-by: jayofelony --- pwnagotchi/plugins/default/auto-tune.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pwnagotchi/plugins/default/auto-tune.py b/pwnagotchi/plugins/default/auto-tune.py index d79ce198..75655bc4 100644 --- a/pwnagotchi/plugins/default/auto-tune.py +++ b/pwnagotchi/plugins/default/auto-tune.py @@ -396,8 +396,7 @@ class auto_tune(plugins.Plugin): def on_ui_update(self, ui): try: - stats = self._chistos - mode = 'AT(%d/%d)' % (stats.get('Current APs', {}).get(-1, 0), stats.get('Unique APs', {}).get(-1, 0)) + mode = 'AT' ui.set('mode', mode) except Exception as e: logging.exception(e)