Skip to content

Commit

Permalink
fix: remove unused variable for templates
Browse files Browse the repository at this point in the history
Signed-off-by: GustaafL <guus@seita.nl>
  • Loading branch information
GustaafL committed Dec 19, 2023
1 parent fc8a3ce commit feb255b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion flexmeasures/ui/utils/view_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

def render_flexmeasures_template(html_filename: str, **variables):
"""Render template and add all expected template variables, plus the ones given as **variables."""
variables["flexmeasures_env"] = current_app.env
variables["FLEXMEASURES_ENFORCE_SECURE_CONTENT_POLICY"] = current_app.config.get(
"FLEXMEASURES_ENFORCE_SECURE_CONTENT_POLICY"
)
Expand Down

0 comments on commit feb255b

Please sign in to comment.