Skip to content

Commit 0172cd3

Browse files
committed
service, discord verification: show warning for new students in FS
1 parent b1c53e9 commit 0172cd3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

service/integration/discord/verifying_student.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,11 @@ def _generic_validation_error_message() -> str:
9595
Please try again or contact a STAIR member.
9696
"""
9797
# current month is july - september or december - february
98-
if 7 <= datetime.now().month <= 9 or 12 <= datetime.now().month <= 2:
98+
if (
99+
7 <= datetime.now().month <= 9
100+
or 12 <= datetime.now().month
101+
or datetime.now().month <= 2
102+
):
99103
base += """
100104
If you are a new student, please try again after the first week of the semester.
101105
"""

0 commit comments

Comments
 (0)