summaryrefslogtreecommitdiff
path: root/src/openwrt_log_analyzer.py
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2023-06-10 22:29:24 +0300
committerEvgeny Zinoviev <me@ch1p.io>2023-06-10 22:29:24 +0300
commit3790c2205396cf860738f297e6ddc49cd2b2a03f (patch)
treeb1ba6f227d3389071dd27346adcd24a593f8b327 /src/openwrt_log_analyzer.py
parent2631c58961c2f5ec90be560a8f5152fe27339a90 (diff)
new config: port openwrt_logger and webapiclient
Diffstat (limited to 'src/openwrt_log_analyzer.py')
-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 35b755f..c1c4fbe 100755
--- a/src/openwrt_log_analyzer.py
+++ b/src/openwrt_log_analyzer.py
@@ -59,7 +59,7 @@ if __name__ == '__main__':
state_file = config['simple_state']['file']
state_file = state_file.replace('.txt', f'-{ap}.txt')
- state = SimpleState(file=state_file,
+ state = SimpleState(name=state_file,
default={'last_id': 0})
max_last_id = 0