Update get_heatmap
This commit is contained in:
parent
82b36bcd0b
commit
e3ea8d7b17
@ -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):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user