Commit 31c9b14a by Bálint Máhonfai

Add store upload link and exported filename to disk

parent 889845e1
......@@ -473,10 +473,12 @@ class Disk(TimeStampedModel):
return disk
def export(self, format, timeout=600):
def export(self, format, upload_link, timeout=600):
exported_name = if != '' else self.filename
queue_name = self.get_remote_queue_name('storage', priority='slow')
args=[self.get_disk_desc(), format],
args=[self.get_disk_desc(), format, exported_name, upload_link],
def destroy(self, user=None, task_uuid=None):
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