mirror of
https://github.com/minetest/contentdb.git
synced 2025-01-20 21:11:26 +01:00
Fix crash due to incorrect /tasks/ param type
This commit is contained in:
parent
adbc2b0195
commit
78f0d1f6c3
@ -39,7 +39,7 @@ def start_getmeta():
|
|||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
@bp.route("/tasks/<int:id>/")
|
@bp.route("/tasks/<id>/")
|
||||||
def check(id):
|
def check(id):
|
||||||
result = celery.AsyncResult(id)
|
result = celery.AsyncResult(id)
|
||||||
status = result.status
|
status = result.status
|
||||||
|
Loading…
Reference in New Issue
Block a user