Fix option exception
This commit is contained in:
@@ -112,7 +112,9 @@ def inp_in_option(section: list[str]) -> ChangeSet:
|
||||
continue
|
||||
|
||||
tokens = s.strip().split()
|
||||
if tokens[0].upper() == 'QUALITY':
|
||||
if tokens[0].upper() == 'PATTERN':
|
||||
cs |= { 'PATTERN' : tokens[1] }
|
||||
elif tokens[0].upper() == 'QUALITY':
|
||||
value = tokens[1]
|
||||
if len(tokens) > 2:
|
||||
value += f' {tokens[2]}'
|
||||
|
||||
Reference in New Issue
Block a user