summaryrefslogtreecommitdiffstats
path: root/forum/views/users.py
diff options
context:
space:
mode:
Diffstat (limited to 'forum/views/users.py')
-rw-r--r--[-rwxr-xr-x]forum/views/users.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/forum/views/users.py b/forum/views/users.py
index 113c46e6..0cefc598 100755..100644
--- a/forum/views/users.py
+++ b/forum/views/users.py
@@ -216,7 +216,7 @@ def user_stats(request, user_id, user_view):
up_votes = Vote.objects.get_up_vote_count_from_user(user)
down_votes = Vote.objects.get_down_vote_count_from_user(user)
votes_today = Vote.objects.get_votes_count_today_from_user(user)
- votes_total = auth.VOTE_RULES['scope_votes_per_user_per_day']
+ votes_total = auth.VOTE_RULES['scope_votes_per_user_per_day'].value
question_id_set = set(map(lambda v: v['id'], list(questions))) \
| set(map(lambda v: v['id'], list(answered_questions)))