bugfix
This commit is contained in:
parent
06108d3c1d
commit
d786615261
@ -96,7 +96,12 @@ and finish_time = start_time"""
|
||||
await self.delete_file(fp)
|
||||
|
||||
async def get_task_status(self, tid):
|
||||
try:
|
||||
d = await self.uapicall('get_task_status', {'taskid':tid})
|
||||
except Exception as e:
|
||||
exception(f'{taskid=} rpccall error{e}')
|
||||
await self.remove_task(taskid)
|
||||
return null
|
||||
rzt = d.result
|
||||
await self.check_download_finished(rzt)
|
||||
rzt.filename = rzt.files[0].path
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user