Disable template auto-generation to preserve spider web chart customizations
This commit is contained in:
@@ -1701,8 +1701,10 @@ class WebInterface:
|
|||||||
</html>'''
|
</html>'''
|
||||||
|
|
||||||
template_path = templates_dir / 'dashboard.html'
|
template_path = templates_dir / 'dashboard.html'
|
||||||
with open(template_path, 'w', encoding='utf-8') as f:
|
# Commented out to preserve manual edits to dashboard.html
|
||||||
f.write(html_content)
|
# Only uncomment this if you want to regenerate the template from scratch
|
||||||
|
# with open(template_path, 'w', encoding='utf-8') as f:
|
||||||
|
# f.write(html_content)
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
|||||||
Reference in New Issue
Block a user