Don't fail if platform name contains non-ascii characters.

This commit is contained in:
Matjaz Gregoric
2016-09-09 09:50:57 +02:00
parent c3580e207b
commit 977e664afe

View File

@@ -42,7 +42,7 @@ _LTI_BACKENDS = [backend_class.name for backend_class in _load_backend_classes(L
DEFAULT_SAML_CONTACT = {
# Default contact information to put into the SAML metadata that gets generated by python-saml.
"givenName": "{} Support".format(
"givenName": u"{} Support".format(
configuration_helpers.get_value('PLATFORM_NAME', settings.PLATFORM_NAME),
),
"emailAddress": configuration_helpers.get_value('TECH_SUPPORT_EMAIL', settings.TECH_SUPPORT_EMAIL),