fix: maximum bodů pro hodnocení
This commit is contained in:
parent
db16df391b
commit
2b1c5e4e6e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue