From 086a4d284d6dc1189a3f6f1915d4078abcda525f Mon Sep 17 00:00:00 2001 From: Roland Hedberg Date: Mon, 16 Nov 2015 21:16:02 +0100 Subject: [PATCH] Don't let lower/upper case throw me off. --- src/saml2/attribute_converter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/saml2/attribute_converter.py b/src/saml2/attribute_converter.py index c0aaf33..4888db3 100644 --- a/src/saml2/attribute_converter.py +++ b/src/saml2/attribute_converter.py @@ -428,7 +428,7 @@ class AttributeConverter(object): _attr = self._to[attr] except KeyError: try: - _attr = self._to[attr.to_lower()] + _attr = self._to[attr.lower()] except: _attr = ''