From 9e541a9bf9628942b16b60285bb162b7dc98b742 Mon Sep 17 00:00:00 2001 From: hernani Date: Thu, 8 Jul 2010 10:52:44 +0000 Subject: [PATCH] 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 --- forum_modules/default_badges/badges.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5