Commit 361dce1f by Timothée Peignier

don't output templates when there is no templates

parent a81e5824
......@@ -64,6 +64,8 @@ class Compressor(object):
def compile_templates(self, paths):
compiled = ""
if not paths:
return compiled
namespace = settings.PIPELINE_TEMPLATE_NAMESPACE
base_path = self.base_path(paths)
for path in paths:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment