summaryrefslogtreecommitdiffstats
path: root/forum/auth.py
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2010-05-13 20:13:17 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2010-05-13 20:13:17 -0400
commitcb66aae356058e6afa292d8b7951fb5614c680ac (patch)
treeb7156bab8789c672394d63018ec79d394fe88312 /forum/auth.py
parent19ed0de43de734682df792c3848e3b1f22c8e9c5 (diff)
downloadaskbot-cb66aae356058e6afa292d8b7951fb5614c680ac.tar.gz
askbot-cb66aae356058e6afa292d8b7951fb5614c680ac.tar.bz2
askbot-cb66aae356058e6afa292d8b7951fb5614c680ac.zip
unified cron job files and added update to russian translation
Diffstat (limited to 'forum/auth.py')
-rw-r--r--forum/auth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/forum/auth.py b/forum/auth.py
index 6c9998cb..fb3a5a68 100644
--- a/forum/auth.py
+++ b/forum/auth.py
@@ -236,7 +236,7 @@ def onAnswerAccept(answer, user, timestamp=None):
)
answer.author.save()
reputation = Repute(user=answer.author,
- positive=REP_GAIN_FOR_RECEIVING_ANSWER_ACCEPTANCE,
+ positive=forum_settings.REP_GAIN_FOR_RECEIVING_ANSWER_ACCEPTANCE,
question=answer.question,
reputed_at=timestamp,
reputation_type=2,