Compare commits

...

2 Commits

Author SHA1 Message Date
dw-0
654fb6eeea Merge 81bbbb5630 into 5eff560627 2024-06-20 21:05:04 +02:00
dw-0
81bbbb5630 fix: wrong condition in _load_config
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2024-06-20 21:04:57 +02:00

View File

@@ -124,7 +124,7 @@ class KiauhSettings:
self._load_config()
def _load_config(self) -> None:
if not self._custom_cfg.exists() or not self._default_cfg.exists():
if not self._custom_cfg.exists() and not self._default_cfg.exists():
self._kill()
cfg = self._custom_cfg if self._custom_cfg.exists() else self._default_cfg