From 1fa46edc123db13bdd1e47b04f49d33684c67747 Mon Sep 17 00:00:00 2001 From: deadc0de6 Date: Sat, 21 May 2022 23:27:11 +0200 Subject: [PATCH] add new profile key to live version too --- dotdrop/cfg_yaml.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dotdrop/cfg_yaml.py b/dotdrop/cfg_yaml.py index faaf797..601a4e4 100644 --- a/dotdrop/cfg_yaml.py +++ b/dotdrop/cfg_yaml.py @@ -1065,6 +1065,10 @@ class CfgYaml: self._yaml_dict[self.key_profiles][key] = { self.key_profile_dotfiles: [] } + # and add to the live version too + self.profiles[key] = { + self.key_profile_dotfiles: [] + } if self._debug: self._dbg('adding new profile: {}'.format(key)) self._dirty = True