[fix] pep8

This commit is contained in:
Adam Tauber 2014-03-08 14:03:42 +01:00
parent 13a27b909e
commit 16155ddc39

View File

@ -96,7 +96,7 @@ def render(template_name, **kwargs):
kwargs['categories'] = ['general']
kwargs['categories'].extend(x for x in
sorted(categories.keys())
if x != 'general'\
if x != 'general'
and x in nonblocked_categories)
if not 'selected_categories' in kwargs:
kwargs['selected_categories'] = []