mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-06 05:01:48 +02:00
updated run.py to make session permanent
This commit is contained in:
parent
e044fcd47b
commit
fef024ac5a
1 changed files with 1 additions and 1 deletions
|
@ -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():
|
||||
|
|
Loading…
Reference in a new issue