openwrt_log_analyzer: fix
This commit is contained in:
parent
5d739c3e9d
commit
1b55bec5f8
@ -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')
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user