Lint with flake8
This commit is contained in:
parent
b09bada052
commit
e193239231
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue