1
0
Fork 0
mirror of https://codeberg.org/Mo8it/AdvLabDB.git synced 2024-12-04 22:40:30 +00:00
This commit is contained in:
Mo 2022-09-12 23:03:42 +02:00
parent b1195fff7f
commit b6e54ba0c0

View file

@ -534,7 +534,7 @@ class Semester(db.Model):
if last_semester is not None:
if year < last_semester.year or (year == last_semester.year and label == "SS"):
raise DatabaseException(f"You can only create semesters older than the last semester {last_semester}!")
raise DatabaseException(f"You can only create semesters later than the last semester {last_semester}!")
super().__init__(label=label, year=year, **kwargs)