Browse Source

fix: maximum bodů pro hodnocení

pull/20/head
Jonas Havelka 2 years ago
parent
commit
2b1c5e4e6e
  1. 2
      seminar/models/odevzdavatko.py

2
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

Loading…
Cancel
Save