bugfix
This commit is contained in:
parent
4a5ae230ee
commit
4213df2df1
@ -95,9 +95,9 @@ and finish_time = start_time"""
|
||||
|
||||
async def get_task_status(self, tid):
|
||||
d = await self.uapicall('get_task_status', {'taskid':tid})
|
||||
await self.check_download_finished(d.result)
|
||||
rzt = d.result
|
||||
rzt.filename = rzt.info.name
|
||||
await self.check_download_finished(rzt)
|
||||
rzt.filename = rzt.files[0].path
|
||||
return rzt
|
||||
|
||||
async def get_tasks_status(self):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user