From fef024ac5aec1ac18cb0533a51b68cd6fd71dde7 Mon Sep 17 00:00:00 2001 From: Charlie Rose Date: Fri, 3 Apr 2020 23:02:05 -0400 Subject: [PATCH] updated run.py to make session permanent --- ihatemoney/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ihatemoney/run.py b/ihatemoney/run.py index a97737ed..5f660711 100644 --- a/ihatemoney/run.py +++ b/ihatemoney/run.py @@ -146,7 +146,7 @@ def create_app( app.jinja_env.globals["static_include"] = static_include app.jinja_env.globals["locale_from_iso"] = locale_from_iso app.jinja_env.filters["minimal_round"] = minimal_round - + # Set session to permanent to make language choice persist @app.before_request def make_session_permanent():