From 8c2401a848bb467b3ff2024c0158fa437dfb5289 Mon Sep 17 00:00:00 2001 From: Aevann Date: Thu, 13 Jul 2023 15:51:38 +0300 Subject: [PATCH] fix stats --- files/helpers/stats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/helpers/stats.py b/files/helpers/stats.py index d9168fee2..e00e6909e 100644 --- a/files/helpers/stats.py +++ b/files/helpers/stats.py @@ -2,7 +2,7 @@ from flask import g import time import calendar import matplotlib.pyplot as plt -from sqlalchemy.sql import func +from sqlalchemy.sql import func, or_ from files.classes.user import User from files.classes.post import Post