Vylepšení hodnotítka fix #1354 fix #1237 #20

Merged
zelvuska merged 25 commits from vylepseni_odevzdavatka into master 2023-06-12 22:17:08 +02:00
Showing only changes of commit 2b1c5e4e6e - Show all commits

View file

@ -177,7 +177,7 @@ class Hodnoceni(bm.SeminarModelBase):
@property @property
def body_neprepocitane_max(self): 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 None
return self.problem.uloha.max_body return self.problem.uloha.max_body