bugfix: uppercase attr values before looking them up

This commit is contained in:
Wolfgang Seeker 2016-04-15 15:46:31 +02:00
parent c0909afe22
commit e6945c4d0e

View File

@ -112,7 +112,7 @@ def _convert_strings(token_specs, string_store):
converted.append([])
for attr, value in spec.items():
if isinstance(attr, basestring):
attr = attrs.IDS.get(attr)
attr = attrs.IDS.get(attr.upper())
if isinstance(value, basestring):
value = string_store[value]
if isinstance(value, bool):