summary refs log tree commit diff
path: root/synapse/config/saml2_config.py
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2020-03-11 20:39:18 +0000
committerBrendan Abolivier <babolivier@matrix.org>2020-03-11 20:39:18 +0000
commit0de9f9486a242c8dbee4b9bc65cad166b863094f (patch)
treee35f0eb1dcc6a3d569777dd73237dd0946e2c7c2 /synapse/config/saml2_config.py
parentPut the file in the templates directory (diff)
downloadsynapse-0de9f9486a242c8dbee4b9bc65cad166b863094f.tar.xz
Lint
Diffstat (limited to '')
-rw-r--r--synapse/config/saml2_config.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/config/saml2_config.py b/synapse/config/saml2_config.py
index 3113f11ebb..8fe64d90f8 100644
--- a/synapse/config/saml2_config.py
+++ b/synapse/config/saml2_config.py
@@ -168,8 +168,7 @@ class SAML2Config(Config):
             template_dir = pkg_resources.resource_filename("synapse", "res/templates",)
 
         self.saml2_error_html_content = self.read_file(
-            os.path.join(template_dir, "saml_error.html"),
-            "saml2_config.saml_error",
+            os.path.join(template_dir, "saml_error.html"), "saml2_config.saml_error",
         )
 
     def _default_saml_config_dict(