Skip to content

Commit

Permalink
Fix missing elif on length check
Browse files Browse the repository at this point in the history
  • Loading branch information
raymondberg committed Apr 6, 2024
1 parent 5427a4b commit e58cb97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chipy_org/apps/meetings/healthchecks.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def _length_check(meeting):
level = "success"
elif length <= 30 and meeting.when < datetime.datetime.now() + datetime.timedelta(days=120):
level = "warning"
if length <= 40 and meeting.when < datetime.datetime.now() + datetime.timedelta(days=90):
elif length <= 40 and meeting.when < datetime.datetime.now() + datetime.timedelta(days=90):
level = "danger"
else:
level = "secondary"
Expand Down

0 comments on commit e58cb97

Please sign in to comment.