Commit 14485710 by Guba Sándor

storagedriver: fixes #2 added delete_dump function

parent 78d0358b
...@@ -20,8 +20,8 @@ def delete(json_data): ...@@ -20,8 +20,8 @@ def delete(json_data):
@celery.task() @celery.task()
def delete_dump(): def delete_dump(disk_path):
if path.endswith(".dump") and os.path.isfile(path): if disk_path.endswith(".dump") and path.isfile(disk_path):
os.unlink(path) os.unlink(path)
......
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 sign in to comment