1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-09 11:14:17 +00:00

fix config saving bug

This commit is contained in:
deadc0de6
2019-06-02 19:12:22 +02:00
parent 53e3921e64
commit 55778f7959
2 changed files with 4 additions and 4 deletions

View File

@@ -717,10 +717,10 @@ class CfgYaml:
newv = v
if isinstance(v, dict):
newv = self._clear_none(v)
if not newv:
continue
if newv is None:
continue
if not newv:
continue
new[k] = newv
return new