hardcode stats date range back to a week

This commit is contained in:
cwilvx
2024-10-14 13:47:44 +03:00
parent de0db0a4b2
commit bbcba6c129
+1 -3
View File
@@ -295,9 +295,7 @@ def get_stats():
""" """
Get the stats for the user. Get the stats for the user.
""" """
# now = int(datetime.now().timestamp()) start_time, end_time = get_date_range("week")
# one_week_ago = now - get_duration_in_seconds("week")
start_time, end_time = get_date_range("year")
total_tracks = StatItem( total_tracks = StatItem(
"trackcount", "trackcount",