Fixed field long name, again

This commit is contained in:
pca006132 2020-07-29 15:17:53 +08:00
parent 5672da9988
commit 10a229a667
1 changed files with 1 additions and 1 deletions

View File

@ -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:]