]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/akismet.py
Closing http://jira.osqa.net/browse/OSQA-224
[osqa.git] / forum / akismet.py
index 940e5ddd1f0916227fc74b012055f2f4fc88c641..7513d9d1c1edc0fb9b4ca5a2fa23fdbe1b33fb65 100644 (file)
@@ -119,8 +119,7 @@ class Akismet(object):
         if agent is None:
             agent = DEFAULTAGENT % __version__
         self.user_agent = user_agent % (agent, __version__)
-        self.key = settings.WORDPRESS_API_KEY
-        self.blog_url = settings.WORDPRESS_BLOG_URL
+        self.setAPIKey(key, blog_url)
 
 
     def _getURL(self):