From d804a28c071a204ca3640e7f99aca4a57f858469 Mon Sep 17 00:00:00 2001 From: doanguyen Date: Tue, 7 Jan 2020 00:02:12 +0100 Subject: [PATCH] fix the format, again --- app/dashboard/views/alias_log.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/dashboard/views/alias_log.py b/app/dashboard/views/alias_log.py index 12221ded..6878b130 100644 --- a/app/dashboard/views/alias_log.py +++ b/app/dashboard/views/alias_log.py @@ -44,7 +44,11 @@ def alias_log(alias, page_id): .filter(ForwardEmail.gen_email_id == gen_email.id) ) total = base.count() - email_forwarded = base.filter(ForwardEmailLog.is_reply == False).filter(ForwardEmailLog.blocked==False).count() + email_forwarded = ( + base.filter(ForwardEmailLog.is_reply == False) + .filter(ForwardEmailLog.blocked == False) + .count() + ) email_replied = base.filter(ForwardEmailLog.is_reply == True).count() email_blocked = base.filter(ForwardEmailLog.blocked == True).count() last_page = (