1
0
Fork 0
mirror of https://codeberg.org/Mo8it/AdvLabDB.git synced 2024-11-08 21:21:06 +00:00

Fix update_experiment_marks_missing

This commit is contained in:
Mo 2022-06-28 01:13:35 +02:00
parent 0c7a3d8ef8
commit d8949a9f70

View file

@ -241,7 +241,7 @@ class GroupExperiment(db.Model):
def update_experiment_marks_missing(self): def update_experiment_marks_missing(self):
for experiment_mark in self.experiment_marks: for experiment_mark in self.experiment_marks:
if experiment_mark.final_part_mark is None: if experiment_mark.final_experiment_mark is None:
self.experiment_marks_missing = False self.experiment_marks_missing = False
return return