Don't let lower/upper case throw me off.

This commit is contained in:
Roland Hedberg
2015-11-16 21:16:02 +01:00
parent 219690b6eb
commit 086a4d284d

View File

@@ -428,7 +428,7 @@ class AttributeConverter(object):
_attr = self._to[attr] _attr = self._to[attr]
except KeyError: except KeyError:
try: try:
_attr = self._to[attr.to_lower()] _attr = self._to[attr.lower()]
except: except:
_attr = '' _attr = ''