From f569d3b4f04b3b7cb1d1b9be51cd099da363dd56 Mon Sep 17 00:00:00 2001 From: Andrew Date: Tue, 23 Nov 2021 17:29:34 -0500 Subject: [PATCH] Fix user lang for Lukas on panel_handler.py --- app/classes/web/panel_handler.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/classes/web/panel_handler.py b/app/classes/web/panel_handler.py index 14dd2951..33abb0c5 100644 --- a/app/classes/web/panel_handler.py +++ b/app/classes/web/panel_handler.py @@ -987,7 +987,10 @@ class PanelHandler(BaseHandler): else: self.set_status(404) + page_data = [] + page_data['lang'] = tornado.locale.get("en_EN") self.render( "public/404.html", translate=self.translator.translate, + data=page_data )