From: hernani Date: Fri, 8 Oct 2010 02:03:01 +0000 (+0000) Subject: Erroneous setting being used. X-Git-Tag: live~530 X-Git-Url: https://git.openstreetmap.org./osqa.git/commitdiff_plain/83decf4390facb76eddc78f75826c5a5332507c6?ds=inline;hp=f955487b51f1b787a52ad3df15b286447a1dec45 Erroneous setting being used. git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@604 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- 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