Commit c37bd1bd by Guba Sándor

storagedriver: fix remove_dump unlink

parent ce0146cf
......@@ -23,7 +23,7 @@ def delete(json_data):
@celery.task()
def delete_dump(disk_path):
if disk_path.endswith(".dump") and path.isfile(disk_path):
os.unlink(path)
unlink(disk_path)
@celery.task()
......
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