Skip to content

Commit

Permalink
Fix currency format issue when page is loaded outside HA wrapper (#2017)
Browse files Browse the repository at this point in the history
* Fix currency format issue when page is loaded outside HA wrapper

#1996

* [pre-commit.ci lite] apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
  • Loading branch information
springfall2008 and pre-commit-ci-lite[bot] authored Feb 15, 2025
1 parent e117436 commit 4c298ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/predbat/web.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def get_header(self, title, refresh=0):
"""
Return the HTML header for a page
"""
text = "<!doctype html><html><head><title>Predbat Web Interface</title>"
text = '<!doctype html><html><head><meta charset="utf-8"><title>Predbat Web Interface</title>'

text += """
<link href="https://cdn.jsdelivr.net/npm/@mdi/[email protected]/css/materialdesignicons.min.css" rel="stylesheet">
Expand Down

0 comments on commit 4c298ac

Please sign in to comment.