Fixed long field name
This commit is contained in:
parent
5711e584eb
commit
5672da9988
2
main.py
2
main.py
@ -129,7 +129,7 @@ def interpret_field(field):
|
||||
if m.group(3) is not None:
|
||||
low = int(m.group(3))
|
||||
result = {}
|
||||
result['name'] = field['name'][0].strip()
|
||||
result['name'] = ''.join(field['name']).strip()
|
||||
result['bits'] = [low, high]
|
||||
result['access'] = field['access'][0].strip()
|
||||
return result
|
||||
|
Loading…
Reference in New Issue
Block a user