Fix typu v hodnotítku

This commit is contained in:
Pavel "LEdoian" Turinsky 2023-06-20 00:26:40 +02:00
parent d304e46ceb
commit feffa99d79

View file

@ -147,7 +147,7 @@ class TabulkaOdevzdanychReseniView(ListView):
resitele_do_tabulky: list[m.Resitel] = []
for resitel in self.resitele:
dostal_body = False
resiteluv_radek: list[tuple[Decimal,list[tuple[m.Resitel, m.Hodnoceni]]]] = [] # podle pořadí v self.problemy
resiteluv_radek: list[tuple[Decimal,list[tuple[m.Reseni, m.Hodnoceni]]]] = [] # podle pořadí v self.problemy
for problem in self.problemy:
if problem in tabulka and resitel in tabulka[problem]:
resiteluv_radek.append((soucty[problem][resitel], tabulka[problem][resitel]))