mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-31 18:27:30 +01:00
Fix crash
This commit is contained in:
parent
482c9e5905
commit
9de4ad5cb3
@ -143,5 +143,7 @@ def set_locale():
|
||||
else:
|
||||
resp = make_response(redirect(url_for("homepage.home")))
|
||||
|
||||
resp.set_cookie("locale", locale)
|
||||
return resp
|
||||
if locale:
|
||||
resp.set_cookie("locale", locale)
|
||||
|
||||
return resp
|
||||
|
Loading…
Reference in New Issue
Block a user