Commit 0c0fb00f by Timothée Peignier

Fix storage logic. Close #390

parent 6ccb5d36
......@@ -17,7 +17,7 @@ class PipelineMixin(object):
packing = True
def __init__(self, location=None, *args, **kwargs):
if settings.PIPELINE_ENABLED and location is None:
if not settings.PIPELINE_ENABLED and location is None:
location = tempfile.mkdtemp()
super(PipelineMixin, self).__init__(location, *args, **kwargs)
......
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