Fix crash due to missing view_args

This commit is contained in:
rubenwardy 2022-01-11 17:06:24 +00:00
parent 416daa868b
commit fbadb05037

@ -65,7 +65,8 @@ def url_set_query(**kwargs):
dargs = dict(args.lists()) dargs = dict(args.lists())
dargs.update(request.view_args) if request.view_args:
dargs.update(request.view_args)
return url_for(request.endpoint, **dargs) return url_for(request.endpoint, **dargs)