forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2022-01-07 20:20:51 +02:00
parent 21e6ee8d0e
commit 00bdd2d1c2
1 changed files with 2 additions and 2 deletions

View File

@ -103,10 +103,10 @@ def cached_chart(days):
if days > 31:
file = "/weekly_chart.png"
day_cutoffs = [today_cutoff - 86400 * 7 * i for i in range(35)][1:]
day_cutoffs = [today_cutoff - 86400 * 7 * i for i in range(30)][1:]
else:
file = "/daily_chart.png"
day_cutoffs = [today_cutoff - 86400 * i for i in range(35)][1:]
day_cutoffs = [today_cutoff - 86400 * i for i in range(30)][1:]
day_cutoffs.insert(0, calendar.timegm(now))