From 40ea0ac6032ee01f61cda1879531a7c7d43518e7 Mon Sep 17 00:00:00 2001 From: Luna Mendes Date: Wed, 14 Nov 2018 23:27:57 -0300 Subject: [PATCH] user.billing_job: fix logcall --- litecord/blueprints/user/billing_job.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/litecord/blueprints/user/billing_job.py b/litecord/blueprints/user/billing_job.py index 66bd902..1473798 100644 --- a/litecord/blueprints/user/billing_job.py +++ b/litecord/blueprints/user/billing_job.py @@ -71,7 +71,8 @@ async def _process_user_payments(app, user_id: int): # give it as free. await create_payment(sub_id, app) else: - log.debug('sid={}, missing {threshold - delta.days} days', sub_id) + log.debug('sid={}, missing {} days', + sub_id, threshold - delta.days) async def payment_job(app):