Flammen und Namen
This commit is contained in:
parent
0e798adb89
commit
7ed5dfbf58
@ -79,6 +79,7 @@ class Habit:
|
||||
def getStreak(self):
|
||||
streak = 0
|
||||
trackings = []
|
||||
|
||||
for rawTracking in get_habitTrackings_by_habit_id(self.id):
|
||||
trackings.append(HabitTrackings(datetime.strptime(rawTracking[2], "%Y-%m-%d")))
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user