]> git.openstreetmap.org Git - osqa.git/blobdiff - forum_modules/default_badges/badges.py
Commit for OSQA Jira 501. Minor change in syntax of Akismet can_bypass_spam_check...
[osqa.git] / 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(
-                settings.CIVIC_DUTY_VOTES):
+                settings.PUNDIT_COMMENT_COUNT):
             return action.user