forked from extern/django-helpdesk
PEP-8 fixes for lib.py
This commit is contained in:
parent
6cfc1ca75c
commit
e1f9fc03ce
@ -176,9 +176,9 @@ def text_is_spam(text, request):
|
||||
site = Site(domain='configure-django-sites.com')
|
||||
|
||||
# see https://akismet.readthedocs.io/en/latest/overview.html#using-akismet
|
||||
|
||||
|
||||
apikey = None
|
||||
|
||||
|
||||
if hasattr(settings, 'TYPEPAD_ANTISPAM_API_KEY'):
|
||||
apikey = settings.TYPEPAD_ANTISPAM_API_KEY
|
||||
ak.baseurl = 'api.antispam.typepad.com/1.1/'
|
||||
|
Loading…
Reference in New Issue
Block a user