X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/7ea527579abe3945bc5c17063fb94387a3cc981f..d628ad546e47a82fe341740e4a3defe546e2f140:/templatetags/containers.py diff --git a/templatetags/containers.py b/templatetags/containers.py index 2e40e53..90debf6 100644 --- a/templatetags/containers.py +++ b/templatetags/containers.py @@ -31,8 +31,7 @@ class ContainerNode(template.Node): if 'page' in context: container_content = self.get_container_content(context) - if self.nodelist_main is None: - self.nodelist_main + if not self.nodelist_main: if container_content and self.as_var: context[self.as_var] = container_content return ''