From 32c19e0044392859618382f3598b5de520d0bd4a Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Thu, 18 May 2023 17:00:19 +0300 Subject: openwrt_logger: fix --- src/openwrt_logger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3