Skip to content

Commit

Permalink
fix state bug
Browse files Browse the repository at this point in the history
  • Loading branch information
SilenZcience committed Jan 15, 2024
1 parent 3fa55b8 commit 61efce1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cat_win/persistence/cconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand Down
2 changes: 1 addition & 1 deletion cat_win/persistence/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 61efce1

Please sign in to comment.