mirror of
https://github.com/dw-0/kiauh.git
synced 2026-01-02 12:43:35 +05:00
Compare commits
2 Commits
065fc1ff7f
...
654fb6eeea
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
654fb6eeea | ||
|
|
81bbbb5630 |
@@ -124,7 +124,7 @@ class KiauhSettings:
|
|||||||
self._load_config()
|
self._load_config()
|
||||||
|
|
||||||
def _load_config(self) -> None:
|
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()
|
self._kill()
|
||||||
|
|
||||||
cfg = self._custom_cfg if self._custom_cfg.exists() else self._default_cfg
|
cfg = self._custom_cfg if self._custom_cfg.exists() else self._default_cfg
|
||||||
|
|||||||
Reference in New Issue
Block a user