summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--synapse/handlers/deactivate_account.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/deactivate_account.py b/synapse/handlers/deactivate_account.py
index 81e0a75e78..78558dd309 100644
--- a/synapse/handlers/deactivate_account.py
+++ b/synapse/handlers/deactivate_account.py
@@ -64,7 +64,7 @@ class DeactivateAccountHandler(BaseHandler):
 
     def _start_user_parting(self):
         if not self._user_parter_running:
-            run_in_background(self._user_parter_loop())
+            run_in_background(self._user_parter_loop)
 
     @defer.inlineCallbacks
     def _user_parter_loop(self):