X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/e1a2167421a6b3538a405ec037c72777163fb949..3a26d64163a61312027c18e0afce30094495ff2e:/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 ''