From 83decf4390facb76eddc78f75826c5a5332507c6 Mon Sep 17 00:00:00 2001 From: hernani Date: Fri, 8 Oct 2010 02:03:01 +0000 Subject: [PATCH] Erroneous setting being used. git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@604 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- forum_modules/default_badges/badges.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forum_modules/default_badges/badges.py b/forum_modules/default_badges/badges.py index cd160d8..f0a8930 100644 --- a/forum_modules/default_badges/badges.py +++ b/forum_modules/default_badges/badges.py @@ -222,7 +222,7 @@ class Pundit(AbstractBadge): def award_to(self, action): if action.user.nodes.filter_state(deleted=False).filter(node_type="comment").count() == int( - settings.CIVIC_DUTY_VOTES): + settings.PUNDIT_COMMENT_COUNT): return action.user -- 2.39.5