Skip to content

Commit

Permalink
Fix context processor
Browse files Browse the repository at this point in the history
  • Loading branch information
amandine-sahl committed Nov 6, 2024
1 parent 5a918b1 commit dcc2b50
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions atlas/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,7 @@ def get_locale():

@app.context_processor
def inject_config():
configuration = copy.copy(app.config)
configuration.pop("PERMANENT_SESSION_LIFETIME", None)
configuration = copy.copy(config_valid)
return dict(configuration=configuration)

@app.template_filter("pretty")
Expand Down

0 comments on commit dcc2b50

Please sign in to comment.