]> git.openstreetmap.org Git - osqa.git/commitdiff
Fixes a badge that was using the wrong setting.
authorhernani <hernani@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Thu, 8 Jul 2010 10:52:44 +0000 (10:52 +0000)
committerhernani <hernani@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Thu, 8 Jul 2010 10:52:44 +0000 (10:52 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@500 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum_modules/default_badges/badges.py

index 7bc6a2ee59a404d1352720cc6dae9de75cb06305..cd160d81f8ccd341af76e5929226ee945f6f824f 100644 (file)
@@ -294,7 +294,7 @@ class Guru(AbstractBadge):
 
     def award_to(self, action):
         if (action.node.node_type == "answer") and (action.node.accepted) and (
 
     def award_to(self, action):
         if (action.node.node_type == "answer") and (action.node.accepted) and (
-        action.node.score >= int(settings.ENLIGHTENED_UP_VOTES)):
+        action.node.score >= int(settings.GURU_UP_VOTES)):
             return action.node.author
 
 
             return action.node.author