Skip to content

Commit

Permalink
final fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Bendikchristensen committed Dec 5, 2023
1 parent 7172dc6 commit 89cbd00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scheduler/state_machine/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ def check_if_end_date(self, current_date: date):

if quit_date is None:
logging.warning('Quit date is not found for user ', self.user_id)
elif quit_date is not None and current_date >= quit_date:
elif current_date >= quit_date:
logging.info('Goals setting state ended, starting execution state')

# on the quit date, notify the user that today is the quit date
Expand Down

0 comments on commit 89cbd00

Please sign in to comment.