Skip to content

Commit

Permalink
flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
da2x committed Jul 30, 2014
1 parent f610a9d commit 274012c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nikola/utils.py
Expand Up @@ -796,8 +796,8 @@ def apply_filters(task, filters, skip_ext=None):
"""

if '.php' in filters.keys():
if not task_filters.php_template_injection in filters['.php']:
filters['.php'].append(task_filters.php_template_injection)
if task_filters.php_template_injection not in filters['.php']:
filters['.php'].append(task_filters.php_template_injection)
else:
filters['.php'] = [task_filters.php_template_injection]

Expand Down

0 comments on commit 274012c

Please sign in to comment.