summary refs log tree commit diff
path: root/synapse/config/registration.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/config/registration.py')
-rw-r--r--synapse/config/registration.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/config/registration.py b/synapse/config/registration.py
index c2ffbc7c13..b49e6609ce 100644
--- a/synapse/config/registration.py
+++ b/synapse/config/registration.py
@@ -170,8 +170,8 @@ class RegistrationConfig(Config):
                 )
 
             # Remove trailing slashes
-            self.bind_new_user_emails_to_sydent = self.bind_new_user_emails_to_sydent.strip(
-                "/"
+            self.bind_new_user_emails_to_sydent = (
+                self.bind_new_user_emails_to_sydent.strip("/")
             )
 
     def generate_config_section(self, generate_secrets=False, **kwargs):