mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-10 13:02:59 +00:00
json handling improvements to stop shuffle
This commit is contained in:
@@ -221,8 +221,8 @@ def display_config_route():
|
||||
except Exception as e:
|
||||
flash(f"Error loading secrets config: {str(e)}", "error")
|
||||
|
||||
main_config_json = json.dumps(main_config_data, indent=4, sort_keys=True)
|
||||
secrets_config_json = json.dumps(secrets_config_data, indent=4, sort_keys=True)
|
||||
main_config_json = json.dumps(main_config_data, indent=4)
|
||||
secrets_config_json = json.dumps(secrets_config_data, indent=4)
|
||||
|
||||
return render_template_string(CONFIG_PAGE_TEMPLATE,
|
||||
main_config_json=main_config_json,
|
||||
|
||||
Reference in New Issue
Block a user