chore: yaml dump do not sort keys
This commit is contained in:
parent
42411a4135
commit
5e877bc05f
2
conn.py
2
conn.py
|
@ -31,7 +31,7 @@ def update_config():
|
||||||
|
|
||||||
logging.info(f"Writing updated config data to {config_file_path}")
|
logging.info(f"Writing updated config data to {config_file_path}")
|
||||||
with open(config_file_path, 'w') as config_file:
|
with open(config_file_path, 'w') as config_file:
|
||||||
yaml.dump(config_data, config_file, default_flow_style=False)
|
yaml.dump(config_data, config_file, sort_keys=False, default_flow_style=False)
|
||||||
|
|
||||||
logging.info("Config file updated successfully.")
|
logging.info("Config file updated successfully.")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue