X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/b97cf4924e1f43e7cf92bfc807a8e3dec1a2eec1..6250fd03a8821251848ae9438b20647498c132b7:/forum/akismet.py diff --git a/forum/akismet.py b/forum/akismet.py index 940e5dd..7513d9d 100644 --- a/forum/akismet.py +++ b/forum/akismet.py @@ -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):