summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--synapse/storage/registration.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/synapse/storage/registration.py b/synapse/storage/registration.py
index c0ca25733b..109052fa41 100644
--- a/synapse/storage/registration.py
+++ b/synapse/storage/registration.py
@@ -449,9 +449,7 @@ class RegistrationWorkerStore(SQLBaseStore):
         """Counts all users without a special user_type registered on the homeserver."""
 
         def _count_users(txn):
-            txn.execute(
-                "SELECT COUNT(*) AS users FROM users where user_type is null"
-            )
+            txn.execute("SELECT COUNT(*) AS users FROM users where user_type is null")
             rows = self.cursor_to_dict(txn)
             if rows:
                 return rows[0]["users"]