fix: maximum bodů pro hodnocení

This commit is contained in:
Jonas Havelka 2023-02-06 23:26:11 +01:00
parent db16df391b
commit 2b1c5e4e6e

View file

@ -177,7 +177,7 @@ class Hodnoceni(bm.SeminarModelBase):
@property
def body_neprepocitane_max(self):
if not isinstance(self.problem, am.Uloha):
if not isinstance(self.problem.get_real_instance(), am.Uloha):
return None
return self.problem.uloha.max_body