Fixed Yassins code removal
This commit is contained in:
parent
b446bb55aa
commit
1180893dd1
@ -80,6 +80,9 @@ class Habit:
|
||||
count = 0
|
||||
self.checked = False
|
||||
for tracking in self.get_habitTrackings():
|
||||
if tracking.created_at.date() == datetime.today().date():
|
||||
self.checked = True
|
||||
|
||||
# day
|
||||
if self.unit == 0:
|
||||
if tracking.created_at.date() == datetime.today().date():
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user