From: rick Date: Sat, 8 May 2010 19:11:28 +0000 (+0000) Subject: Overlooked when we returned to parameter-based initialization of Akismet. X-Git-Tag: live~948 X-Git-Url: https://git.openstreetmap.org/osqa.git/commitdiff_plain/6acd747f95aef6d9bce37f86798a32c14e04b82e Overlooked when we returned to parameter-based initialization of Akismet. git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@181 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- diff --git a/forum/akismet.py b/forum/akismet.py index 7513d9d..fd15794 100644 --- a/forum/akismet.py +++ b/forum/akismet.py @@ -159,7 +159,7 @@ class Akismet(object): except IndexError: raise APIKeyError("Your 'apikey.txt' is invalid.") else: - self.key = settings.WORDPRESS_API_KEY + self.key = key self.blog_url = blog_url