summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2018-05-10 11:57:13 +0100
committerDavid Baker <dave@matrix.org>2018-05-10 11:57:13 +0100
commit4d298506ddb65f642d899dffa236e4499f0c427b (patch)
tree77e711894d28cc5dbad50046efe0dc0c3afcd46e
parentPrefix internal functions (diff)
downloadsynapse-4d298506ddb65f642d899dffa236e4499f0c427b.tar.xz
Oops, don't call function passed to run_in_background
-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):