From: hernani Date: Thu, 8 Jul 2010 10:52:44 +0000 (+0000) Subject: Fixes a badge that was using the wrong setting. X-Git-Tag: live~634 X-Git-Url: https://git.openstreetmap.org./osqa.git/commitdiff_plain/9e541a9bf9628942b16b60285bb162b7dc98b742 Fixes a badge that was using the wrong setting. git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@500 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- diff --git a/forum_modules/default_badges/badges.py b/forum_modules/default_badges/badges.py index 7bc6a2e..cd160d8 100644 --- a/forum_modules/default_badges/badges.py +++ b/forum_modules/default_badges/badges.py @@ -294,7 +294,7 @@ class Guru(AbstractBadge): 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