nodelist does not exist in jinja2ext

This commit is contained in:
dziegler
2012-12-04 23:05:13 -08:00
parent ef898f2597
commit 08f7b3ffc6

View File

@@ -62,7 +62,7 @@ class CompressorMixin(object):
and return the result if given
"""
if self.is_offline_compression_enabled(forced) and not forced:
key = get_offline_hexdigest(self.nodelist.render(context))
key = get_offline_hexdigest(self.get_original_content(context))
offline_manifest = get_offline_manifest()
if key in offline_manifest:
return offline_manifest[key]