From 60f0f6c29eda2b2a761618af711a529d7bb00ccd Mon Sep 17 00:00:00 2001 From: Simone Margaritelli Date: Mon, 7 Oct 2019 14:32:42 +0200 Subject: [PATCH] misc: small fix or general refactoring i did not bother commenting --- pwnagotchi/plugins/default/api.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pwnagotchi/plugins/default/api.py b/pwnagotchi/plugins/default/api.py index b912bb8..0b2f1be 100644 --- a/pwnagotchi/plugins/default/api.py +++ b/pwnagotchi/plugins/default/api.py @@ -151,8 +151,7 @@ def on_internet_available(ui, keys, config, log): if bssid: if api_report_ap(token, essid, bssid): reported.append(net_id) - - REPORT.update(data={'reported': reported}) + REPORT.update(data={'reported': reported}) else: logging.info("api: reporting disabled")