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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user