From 1b55bec5f861536be8f3873ee66915ec60702a47 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Thu, 18 May 2023 16:47:35 +0300 Subject: openwrt_log_analyzer: fix --- src/openwrt_log_analyzer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openwrt_log_analyzer.py b/src/openwrt_log_analyzer.py index a55aaf8..d31c3bf 100755 --- a/src/openwrt_log_analyzer.py +++ b/src/openwrt_log_analyzer.py @@ -55,7 +55,7 @@ def main(mac: str, if __name__ == '__main__': config.load('openwrt_log_analyzer') - for ap in config['aps']: + for ap in config['openwrt_log_analyzer']['aps']: state_file = config['simple_state']['file'] state_file = state_file.replace('.txt', f'-{ap}.txt') -- cgit v1.2.3