Bugfix.
This commit is contained in:
parent
2f3dffd76c
commit
ada4d055eb
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue