openwrt_logger: fix again

This commit is contained in:
Evgeny Zinoviev 2023-05-18 17:01:11 +03:00
parent 32c19e0044
commit 7706c3c37e

View File

@ -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)