mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-04 12:46:44 +00:00
fix config saving bug
This commit is contained in:
@@ -4,8 +4,8 @@ config:
|
||||
create: true
|
||||
dotpath: dotfiles
|
||||
keepdot: false
|
||||
longkey: false
|
||||
link_on_import: nolink
|
||||
link_dotfile_default: nolink
|
||||
link_on_import: nolink
|
||||
longkey: false
|
||||
dotfiles:
|
||||
profiles:
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user