diff --git a/seminar/models/odevzdavatko.py b/seminar/models/odevzdavatko.py index ac6c097c..0fad97f8 100644 --- a/seminar/models/odevzdavatko.py +++ b/seminar/models/odevzdavatko.py @@ -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