Skip to content

Commit 6da0cf6

Browse files
fredriktc00kiemon5ter
authored andcommitted
bugfix: bool(format) is always true. First bugfix using mypy :).
1 parent e9ac543 commit 6da0cf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/saml2/s_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ def do_attribute(val, typ, key):
343343
friendly = ""
344344
if name:
345345
attr.name = name
346-
if format:
346+
if nformat:
347347
attr.name_format = nformat
348348
if friendly:
349349
attr.friendly_name = friendly

0 commit comments

Comments
 (0)