very important fix

This commit is contained in:
Yapollon 2024-03-06 13:07:49 +01:00
parent 67ef6296c9
commit def7e1845e

View File

@ -101,7 +101,6 @@ class Habit:
# Loads the progress and checks if the streak is not broken
def load_statistics(self):
print("loading")
today = datetime.today().date()
yesterday = today - timedelta(days=1)
tracking_dates = [tracking.created_at.date() for tracking in self.get_habitTrackings()]