mirror of
https://codeberg.org/Mo8it/AdvLabDB.git
synced 2024-12-04 22:40:30 +00:00
Fix typo
This commit is contained in:
parent
b1195fff7f
commit
b6e54ba0c0
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue