Skip to content

Commit 1e730de

Browse files
author
ori15
committed
fixed example/idp.py to properly return metadata
1 parent aaf6c54 commit 1e730de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/idp2/idp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -999,7 +999,7 @@ def metadata(environ, start_response):
999999
args.sign,
10001000
)
10011001
start_response("200 OK", [("Content-Type", "text/xml")])
1002-
return metadata
1002+
return [metadata]
10031003
except Exception as ex:
10041004
logger.error("An error occured while creating metadata: %s", ex.message)
10051005
return not_found(environ, start_response)

0 commit comments

Comments
 (0)