diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2019-09-06 13:25:06 +0100 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2019-09-06 13:25:06 +0100 |
commit | ca74b140f264e8b5429e352ac054288e1f78b980 (patch) | |
tree | fbca6071ed341e92a3f54b4d092bec0e5d11a148 /synapse/rest/client/v2_alpha/register.py | |
parent | Merge pull request #5991 from matrix-org/erikj/fix_tracing_funcs (diff) | |
download | synapse-ca74b140f264e8b5429e352ac054288e1f78b980.tar.xz |
Fix destructuring assumption bug
Diffstat (limited to 'synapse/rest/client/v2_alpha/register.py')
-rw-r--r-- | synapse/rest/client/v2_alpha/register.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v2_alpha/register.py b/synapse/rest/client/v2_alpha/register.py index 7ab534581e..27f4addc41 100644 --- a/synapse/rest/client/v2_alpha/register.py +++ b/synapse/rest/client/v2_alpha/register.py @@ -293,7 +293,7 @@ class RegistrationSubmitTokenServlet(RestServlet): request.setResponseCode(e.code) # Show a failure page with a reason - html_template = load_jinja2_templates( + [html_template] = load_jinja2_templates( self.config.email_template_dir, [self.config.email_registration_template_failure_html], ) |