PEBCAK 2 removed
This commit is contained in:
parent
faa30b8866
commit
20ad44236b
1 changed files with 2 additions and 2 deletions
|
@ -286,8 +286,8 @@ def review_admin(request, section_slug):
|
|||
user.average = "-"
|
||||
else:
|
||||
user.average = (
|
||||
user.plus_two + user.plus_one +
|
||||
user.minus_one + user.minus_two
|
||||
((user.plus_two * 2) + user.plus_one) -
|
||||
((user.minus_two * 2) + user.minus_one)
|
||||
) / (user.total_votes * 1.0)
|
||||
|
||||
yield user
|
||||
|
|
Loading…
Reference in a new issue