summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2023-05-18 17:00:19 +0300
committerEvgeny Zinoviev <me@ch1p.io>2023-05-18 17:00:19 +0300
commit32c19e0044392859618382f3598b5de520d0bd4a (patch)
tree02e48c364fd66889b517f079f0e4b56186b2d2c4 /src
parent1b55bec5f861536be8f3873ee66915ec60702a47 (diff)
openwrt_logger: fix
Diffstat (limited to 'src')
-rwxr-xr-xsrc/openwrt_logger.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openwrt_logger.py b/src/openwrt_logger.py
index 0c5df28..0bc9dc0 100755
--- a/src/openwrt_logger.py
+++ b/src/openwrt_logger.py
@@ -48,7 +48,7 @@ if __name__ == '__main__':
arg = config.load('openwrt_logger', parser=parser)
- state = SimpleState(file=config['simple_state']['file'],
+ state = SimpleState(file=config['simple_state']['file'].replace('{ap}', arg.access_point),
default={'seek': 0, 'size': 0})
fsize = os.path.getsize(arg.file)