]> git.openstreetmap.org Git - osqa.git/commitdiff
Erroneous setting being used.
authorhernani <hernani@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Fri, 8 Oct 2010 02:03:01 +0000 (02:03 +0000)
committerhernani <hernani@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Fri, 8 Oct 2010 02:03:01 +0000 (02:03 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@604 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum_modules/default_badges/badges.py

index cd160d81f8ccd341af76e5929226ee945f6f824f..f0a893078912e6f61106b1d140e769785c582363 100644 (file)
@@ -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(
 
     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
 
 
             return action.user