fix the format, again

This commit is contained in:
doanguyen 2020-01-07 00:02:12 +01:00
parent 6a99fd30c4
commit d804a28c07

View file

@ -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 = (