Skip to content

Commit 910d64b

Browse files
committed
rename variabl
1 parent 55ebc04 commit 910d64b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scheduler/state_machine/controller.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,8 +240,8 @@ def on_new_day(self, current_date: date):
240240

241241
# at day 7 activity C2.9 has to be proposed
242242
start_date = get_start_date(self.user_id)
243-
ga_completed = get_activity_completion_state(self.user_id, 29)
244-
if (current_date - start_date).days >= ACTIVITY_C2_9_DAY_TRIGGER and not ga_completed:
243+
choose_sport_completed = get_activity_completion_state(self.user_id, 29)
244+
if (current_date - start_date).days >= ACTIVITY_C2_9_DAY_TRIGGER and not choose_sport_completed:
245245
plan_and_store(user_id=self.user_id,
246246
dialog=Components.GENERAL_ACTIVITY,
247247
phase_id=1)

0 commit comments

Comments
 (0)