1
0
Fork 0
mirror of https://codeberg.org/Mo8it/AdvLabDB.git synced 2024-12-20 23:41:20 +00:00

Fix function call

This commit is contained in:
Mo 2022-05-15 22:38:49 +02:00
parent 4347b63f3c
commit 17f8b43bee

View file

@ -520,7 +520,7 @@ class ExperimentMark(db.Model):
raise DataBaseException("The group of the part student does not have the given group experiment!") raise DataBaseException("The group of the part student does not have the given group experiment!")
def __init__(self, part_student, group_experiment): def __init__(self, part_student, group_experiment):
ExperimentMark(part_student, group_experiment) ExperimentMark.check(part_student, group_experiment)
super().__init__(part_student=part_student, group_experiment=group_experiment) super().__init__(part_student=part_student, group_experiment=group_experiment)