Lint with flake8

This commit is contained in:
Aurélien Delobelle 2018-09-30 00:15:09 +02:00
parent b09bada052
commit e193239231

View file

@ -37,5 +37,6 @@ def is_open_for_signup(context):
@simple_tag
def is_clipper_highlighted():
return ('allauth_ens.providers.clipper' in getattr(settings, 'INSTALLED_APPS', [])) \
installed_apps = getattr(settings, 'INSTALLED_APPS', [])
return ('allauth_ens.providers.clipper' in installed_apps) \
and getattr(settings, 'ALLAUTH_ENS_HIGHLIGHT_CLIPPER', True)