bugfix
This commit is contained in:
parent
ad4198bbab
commit
24539f475a
@ -1,5 +1,6 @@
|
|||||||
import time
|
import time
|
||||||
import json
|
import json
|
||||||
|
from traceback import format_exc
|
||||||
from appPublic.dictObject import DictObject
|
from appPublic.dictObject import DictObject
|
||||||
from appPublic.log import debug, exception
|
from appPublic.log import debug, exception
|
||||||
from sqlor.dbpools import DBPools
|
from sqlor.dbpools import DBPools
|
||||||
@ -13,7 +14,7 @@ class DownloadMgr:
|
|||||||
keys.sort()
|
keys.sort()
|
||||||
debug(f'{keys=}')
|
debug(f'{keys=}')
|
||||||
self.uapi = self.env.UAPI(request, env=self.env)
|
self.uapi = self.env.UAPI(request, env=self.env)
|
||||||
self.uappid = 'downloader'
|
self.upappid = 'downloader'
|
||||||
|
|
||||||
async def save_finished_task(self, taskid):
|
async def save_finished_task(self, taskid):
|
||||||
db = DBPools()
|
db = DBPools()
|
||||||
@ -55,7 +56,7 @@ and finish_time is NULL"""
|
|||||||
|
|
||||||
async def uapicall(self, apiname, ns):
|
async def uapicall(self, apiname, ns):
|
||||||
userid = await self.env.get_user()
|
userid = await self.env.get_user()
|
||||||
x = self.uapi.call(self.uappname,
|
x = self.uapi.call(self.upappid,
|
||||||
apiname,
|
apiname,
|
||||||
userid,
|
userid,
|
||||||
ns)
|
ns)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user