Add missing parameter

This commit is contained in:
Jan Losinski 2019-01-21 21:47:10 +01:00
parent f0e3cfe5f0
commit cc5412a3bd
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ class Worker(object):
mail.send_success_email(req.email, booking)
await self._loop.run_in_executor(None, functools.partial(self.cleanup_booked, booked_ids))
await self._loop.run_in_executor(None, self.cleanup_old)
await self._loop.run_in_executor(None, functools.partial(self.cleanup_old, mail))
async def run(self):
while True: