very important fix
This commit is contained in:
parent
67ef6296c9
commit
def7e1845e
@ -101,7 +101,6 @@ class Habit:
|
|||||||
|
|
||||||
# Loads the progress and checks if the streak is not broken
|
# Loads the progress and checks if the streak is not broken
|
||||||
def load_statistics(self):
|
def load_statistics(self):
|
||||||
print("loading")
|
|
||||||
today = datetime.today().date()
|
today = datetime.today().date()
|
||||||
yesterday = today - timedelta(days=1)
|
yesterday = today - timedelta(days=1)
|
||||||
tracking_dates = [tracking.created_at.date() for tracking in self.get_habitTrackings()]
|
tracking_dates = [tracking.created_at.date() for tracking in self.get_habitTrackings()]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user