Commit 4b88e9f4 by Bálint Máhonfai

Implement uploading exported disk to storeserver, remove disk from the datastore after upload

parent 06326eea
celery==3.1.17 celery==3.1.17
requests==2.5.3 requests==2.5.3
requests-toolbelt==0.9.1
filemagic==1.6 filemagic==1.6
...@@ -42,9 +42,9 @@ class download(AbortableTask): ...@@ -42,9 +42,9 @@ class download(AbortableTask):
@celery.task() @celery.task()
def export(disk_desc, format): def export(disk_desc, format, exported_name, upload_link):
disk = Disk.deserialize(disk_desc) disk = Disk.deserialize(disk_desc)
disk.export(format) disk.export(format, exported_name, upload_link)
@celery.task() @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