From 31c0f7b4594566ca80acce8b32d2d9fa951dc9c6 Mon Sep 17 00:00:00 2001 From: Timo Stollenwerk Date: Tue, 13 Jul 2010 09:22:05 +0000 Subject: [PATCH] Check for collective.akismet to detect akismet plugin, not for the Python akismet package. svn path=/plone.app.discussion/trunk/; revision=37762 --- plone/app/discussion/vocabularies.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plone/app/discussion/vocabularies.py b/plone/app/discussion/vocabularies.py index e545100..1ed027d 100644 --- a/plone/app/discussion/vocabularies.py +++ b/plone/app/discussion/vocabularies.py @@ -21,7 +21,7 @@ except ImportError: HAS_AKISMET = False try: - from akismet import Akismet, AkismetError + import collective.akismet HAS_AKISMET = True except ImportError: pass