Disable template auto-generation to preserve spider web chart customizations

This commit is contained in:
overcuriousity
2026-01-18 01:58:58 +01:00
parent 9035bdca2b
commit e1a61ea6da

View File

@@ -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():