Fixed field long name, again
This commit is contained in:
parent
5672da9988
commit
10a229a667
2
main.py
2
main.py
|
@ -151,7 +151,7 @@ def interpret(reg):
|
||||||
for v in reg['def']:
|
for v in reg['def']:
|
||||||
a = v['key']
|
a = v['key']
|
||||||
b = v['value']
|
b = v['value']
|
||||||
key = a[0].strip()
|
key = ''.join([p.strip() for p in a]).strip()
|
||||||
if len(expected) > 0 and key == expected[0][0]:
|
if len(expected) > 0 and key == expected[0][0]:
|
||||||
result[expected[0][1]] = expected[0][2](b)
|
result[expected[0][1]] = expected[0][2](b)
|
||||||
expected = expected[1:]
|
expected = expected[1:]
|
||||||
|
|
Loading…
Reference in New Issue