mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-22 22:12:24 +01:00
Fix crash due to missing view_args
This commit is contained in:
parent
416daa868b
commit
fbadb05037
@ -65,7 +65,8 @@ def url_set_query(**kwargs):
|
||||
|
||||
|
||||
dargs = dict(args.lists())
|
||||
dargs.update(request.view_args)
|
||||
if request.view_args:
|
||||
dargs.update(request.view_args)
|
||||
|
||||
return url_for(request.endpoint, **dargs)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user