mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Fix user lang for Lukas on panel_handler.py
This commit is contained in:
parent
17abe01dcc
commit
f569d3b4f0
@ -987,7 +987,10 @@ class PanelHandler(BaseHandler):
|
|||||||
|
|
||||||
else:
|
else:
|
||||||
self.set_status(404)
|
self.set_status(404)
|
||||||
|
page_data = []
|
||||||
|
page_data['lang'] = tornado.locale.get("en_EN")
|
||||||
self.render(
|
self.render(
|
||||||
"public/404.html",
|
"public/404.html",
|
||||||
translate=self.translator.translate,
|
translate=self.translator.translate,
|
||||||
|
data=page_data
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user