From a224fcca2e74161dccccde046bb0790f9a98769d Mon Sep 17 00:00:00 2001 From: Fabian Braun Date: Thu, 7 Jul 2016 14:20:40 +0200 Subject: [PATCH] pep8 corrections --- djangocms_blog/cms_plugins.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/djangocms_blog/cms_plugins.py b/djangocms_blog/cms_plugins.py index f9d1736..637cf18 100644 --- a/djangocms_blog/cms_plugins.py +++ b/djangocms_blog/cms_plugins.py @@ -86,7 +86,7 @@ class BlogTagsPlugin(BlogPlugin): name = get_setting('TAGS_PLUGIN_NAME') model = GenericBlogPlugin base_render_template = 'tags.html' - exclude = ['template_folder'] if len(get_setting('PLUGIN_TEMPLATE_FOLDERS'))>=1 else [] + exclude = ['template_folder'] if len(get_setting('PLUGIN_TEMPLATE_FOLDERS')) >= 1 else [] def render(self, context, instance, placeholder): context = super(BlogTagsPlugin, self).render(context, instance, placeholder) @@ -100,7 +100,7 @@ class BlogCategoryPlugin(BlogPlugin): name = get_setting('CATEGORY_PLUGIN_NAME') model = GenericBlogPlugin base_render_template = 'categories.html' - exclude = ['template_folder'] if len(get_setting('PLUGIN_TEMPLATE_FOLDERS'))>=1 else [] + exclude = ['template_folder'] if len(get_setting('PLUGIN_TEMPLATE_FOLDERS')) >= 1 else [] def render(self, context, instance, placeholder): context = super(BlogCategoryPlugin, self).render(context, instance, placeholder)