Oops, don't call function passed to run_in_background

This commit is contained in:
David Baker 2018-05-10 11:57:13 +01:00
parent 294e9a0c9b
commit 4d298506dd

View file

@ -64,7 +64,7 @@ class DeactivateAccountHandler(BaseHandler):
def _start_user_parting(self): def _start_user_parting(self):
if not self._user_parter_running: if not self._user_parter_running:
run_in_background(self._user_parter_loop()) run_in_background(self._user_parter_loop)
@defer.inlineCallbacks @defer.inlineCallbacks
def _user_parter_loop(self): def _user_parter_loop(self):