Sync code
This commit is contained in:
@@ -16,7 +16,8 @@ def _parse_v2(v2_lines: list[str]) -> dict[str, str]:
|
|||||||
for s in v2_lines:
|
for s in v2_lines:
|
||||||
tokens = s.split()
|
tokens = s.split()
|
||||||
if tokens[0].upper() == 'PATTERN': # can not upper id
|
if tokens[0].upper() == 'PATTERN': # can not upper id
|
||||||
cs_v2 |= { 'PATTERN' : tokens[1] }
|
value = tokens[1] if len(tokens) > 1 else ''
|
||||||
|
cs_v2 |= { 'PATTERN' : value }
|
||||||
elif tokens[0].upper() == 'QUALITY': # can not upper trace node
|
elif tokens[0].upper() == 'QUALITY': # can not upper trace node
|
||||||
value = tokens[1]
|
value = tokens[1]
|
||||||
if len(tokens) > 2:
|
if len(tokens) > 2:
|
||||||
|
|||||||
Reference in New Issue
Block a user