Skip to content

Commit 086a4d2

Browse files
author
Roland Hedberg
committed
Don't let lower/upper case throw me off.
1 parent 219690b commit 086a4d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/saml2/attribute_converter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ def to_format(self, attr):
428428
_attr = self._to[attr]
429429
except KeyError:
430430
try:
431-
_attr = self._to[attr.to_lower()]
431+
_attr = self._to[attr.lower()]
432432
except:
433433
_attr = ''
434434

0 commit comments

Comments
 (0)