diff --git a/cat_win/persistence/cconfig.py b/cat_win/persistence/cconfig.py index 598eb472..664e7f29 100644 --- a/cat_win/persistence/cconfig.py +++ b/cat_win/persistence/cconfig.py @@ -82,7 +82,7 @@ def load_config(self) -> dict: except KeyError: self.config_parser['COLORS'] = {} # If an error occures we simply use the default colors - self.color_dic = self.default_dic + self.color_dic = self.default_dic.copy() # The Reset Codes should always be the same self.color_dic[CKW.RESET_ALL] = ColorOptions.Style['RESET'] diff --git a/cat_win/persistence/config.py b/cat_win/persistence/config.py index 6c0926ae..82ee8db8 100644 --- a/cat_win/persistence/config.py +++ b/cat_win/persistence/config.py @@ -126,7 +126,7 @@ def load_config(self) -> dict: except KeyError: self.config_parser['CONSTS'] = {} # If an error occures we simply use the default colors - self.const_dic = self.default_dic + self.const_dic = self.default_dic.copy() return self.const_dic