Browse Source

Bugfix.

remotes/origin/opraf
parent
commit
ada4d055eb
  1. 2
      korektury/views.py

2
korektury/views.py

@ -131,7 +131,7 @@ class KorekturyView(generic.TemplateView):
zasluhy[o.autor]=1
o.komentare = o.komentar_set.all()
for k in o.komentare:
if o.autor in zasluhy:
if k.autor in zasluhy:
zasluhy[k.autor]+=1
else:
zasluhy[k.autor]=1

Loading…
Cancel
Save