Commit 14485710 by Guba Sándor

storagedriver: fixes #2 added delete_dump function

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