openwrt_logger: fix
This commit is contained in:
parent
1b55bec5f8
commit
32c19e0044
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user