Odstreny nadbytecne operace.

This commit is contained in:
Tomas "Jethro" Pokorny 2015-11-15 22:21:25 +01:00
parent c83e355efd
commit dacb0fa183

View file

@ -391,8 +391,6 @@ def TitulyView(request, rocnik, cislo):
cislo_obj = Cislo.objects.filter(rocnik = rocnik_obj, cislo = cislo).first()
for resitel in resitele:
rocnik_obj = Rocnik.objects.filter(rocnik = rocnik)
cislo_obj = Cislo.objects.filter(rocnik = rocnik_obj, cislo = cislo).first()
vys = VysledkyKCisluOdjakziva.objects.filter(resitel = resitel, cislo = cislo_obj).first()
if vys == None:
body = 0