Update get_heatmap

This commit is contained in:
Yapollon 2024-03-07 15:07:26 +01:00
parent 82b36bcd0b
commit e3ea8d7b17

View File

@ -65,7 +65,7 @@ class User(UserMixin):
def get_heatmap(self) -> list:
# get current day of week as integer. monday is 0 and sunday is 6
weekday = datetime.today().weekday()
heatmap = []
heatmap = [100]
# append the heatmap values of the current week
for day in range(0, weekday):