diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2023-05-18 17:01:11 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2023-05-18 17:01:11 +0300 |
commit | 7706c3c37e2042d1b36744aae45c901f475c7c9c (patch) | |
tree | 5a64e0429bf6d39326bda99f5c9ef1967b62252c | |
parent | 32c19e0044392859618382f3598b5de520d0bd4a (diff) |
openwrt_logger: fix again
-rwxr-xr-x | src/openwrt_logger.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openwrt_logger.py b/src/openwrt_logger.py index 0bc9dc0..3b19de2 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'].replace('{ap}', arg.access_point), + state = SimpleState(file=config['simple_state']['file'].replace('{ap}', str(arg.access_point)), default={'seek': 0, 'size': 0}) fsize = os.path.getsize(arg.file) |