fix: wrong condition in _load_config

Signed-off-by: Dominik Willner <th33xitus@gmail.com>
This commit is contained in:
dw-0 committed 2024-06-22 10:56:02 +02:00
1 parent b758b3887b
commit af57b9670d
1 file changed
+1 -1
+1 -1
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