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