From 17f8b43beee879281135dcaae9949786f414718c Mon Sep 17 00:00:00 2001 From: Mo8it Date: Sun, 15 May 2022 22:38:49 +0200 Subject: [PATCH] Fix function call --- advlabdb/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/advlabdb/models.py b/advlabdb/models.py index f091549..b9f9095 100644 --- a/advlabdb/models.py +++ b/advlabdb/models.py @@ -520,7 +520,7 @@ class ExperimentMark(db.Model): raise DataBaseException("The group of the part student does not have the given 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)