bugfix
This commit is contained in:
parent
8a257e94e4
commit
a44ea6f6b3
@ -1,5 +1,5 @@
|
||||
#
|
||||
dmgr = DownloadMgr(request, DictObject(**globals()))
|
||||
dmgr = DownloadMgr(request)
|
||||
try:
|
||||
x = await dmgr.download(params_kw.url)
|
||||
return UiMessage(title='download', message=f'download submited')
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
"height":"100%"
|
||||
},
|
||||
"subwidgets":[
|
||||
{% set dmgr = DownloadMgr(request, DictObject(**globals())) %}
|
||||
{% set dmgr = DownloadMgr(request) %}
|
||||
{% for task in dmgr.get_user_tasks() %}
|
||||
{
|
||||
"widgettype":"urlwidget",
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
{% set dmgr=DownloadMgr(request, DictObject(**globals())) %}
|
||||
{% set dmgr=DownloadMgr(request) %}
|
||||
{% set status=dmgr.get_task_status(params_kw.taskid) %}
|
||||
{
|
||||
"widgettype":"VBox",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user