Skip to content

Commit 5fab598

Browse files
committed
Fixed attribute converters
Lower was not called on one of the attribute conversions
1 parent e2a07fa commit 5fab598

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/saml2/attribute_converter.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ def adjust(self):
286286
[(value.lower(), key) for key, value in self._to.items()])
287287
if self._to is None and self.fro is not None:
288288
self._to = dict(
289-
[(value.lower, key) for key, value in self._fro.items()])
289+
[(value.lower(), key) for key, value in self._fro.items()])
290290

291291
def from_dict(self, mapdict):
292292
""" Import the attribute map from a dictionary

0 commit comments

Comments
 (0)