Ostatní case
This commit is contained in:
parent
82024ad982
commit
f54469e7af
1 changed files with 4 additions and 0 deletions
|
@ -294,6 +294,10 @@ class VysledkovkaCisla(Vysledkovka):
|
|||
prob = hodnoceni.problem
|
||||
nadproblem = prob.hlavni_problem.id
|
||||
|
||||
# Když nadproblém není "téma", pak je "Ostatní"
|
||||
if nadproblem not in body_za_temata:
|
||||
nadproblem = -1
|
||||
|
||||
problem_slovnik = body_za_problemy[nadproblem][prob.id]
|
||||
nadproblem_slovnik = body_za_temata[nadproblem]
|
||||
|
||||
|
|
Loading…
Reference in a new issue