fix WPD charts

master
Aevann 2023-02-03 02:08:00 +02:00
parent 2ce7829238
commit 6ad1c88391
1 changed files with 4 additions and 0 deletions

View File

@ -28,6 +28,10 @@ def chart(kind, site):
time_diff = time.time() - 1619827200
num_of_weeks = int(time_diff / 604800)
chart_width = int(num_of_weeks/1.4)
elif SITE == 'watchpeopledie.tv':
time_diff = time.time() - 1650932977
num_of_weeks = int(time_diff / 604800)
chart_width = int(num_of_weeks/1.4)
else:
num_of_weeks = 30
chart_width = 30