aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2023-05-18 16:47:35 +0300
committerEvgeny Zinoviev <me@ch1p.io>2023-05-18 16:47:35 +0300
commit1b55bec5f861536be8f3873ee66915ec60702a47 (patch)
tree352bb7efa950a508e2122212013e8786260ef3eb
parent5d739c3e9d73e13ad836df904a88debacce31db0 (diff)
openwrt_log_analyzer: fix
-rwxr-xr-xsrc/openwrt_log_analyzer.py2
1 files changed, 1 insertions, 1 deletions
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')