Do not write out new keys
This commit is contained in:
@@ -51,6 +51,9 @@ def inp_out_option(name: str) -> list[str]:
|
|||||||
objs = read_all(name, f"select * from options")
|
objs = read_all(name, f"select * from options")
|
||||||
for obj in objs:
|
for obj in objs:
|
||||||
key = obj['key']
|
key = obj['key']
|
||||||
|
# release version does not support new keys and has error message
|
||||||
|
if key == 'HTOL' or key == 'QTOL' or key == 'RQTOL':
|
||||||
|
continue
|
||||||
value = obj['value']
|
value = obj['value']
|
||||||
if str(value).strip() != '':
|
if str(value).strip() != '':
|
||||||
lines.append(f'{key} {value}')
|
lines.append(f'{key} {value}')
|
||||||
|
|||||||
Reference in New Issue
Block a user