1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 20:54:51 +00:00

avoid yaml keys to be re-ordered

This commit is contained in:
deadc0de6
2019-06-04 22:40:44 +02:00
parent 9c9a4c6d2b
commit 274a613b99

View File

@@ -751,7 +751,7 @@ class CfgYaml:
# ensure no null are displayed
data = yaml.safe_dump(content,
default_flow_style=False,
indent=2)
indent=2, sort_keys=False)
data = data.replace('null', '')
# save to file