self.lock.close()
+@task
def create_zip(paths, zip_slug):
"""
Creates a zip in MEDIA_ROOT/zip directory containing files from path.
except OSError as oe:
if oe.errno != ENOENT:
raise oe
-
-
-@task
-def create_zip_task(*args):
- return create_zip(*args)