mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-29 10:43:37 +05:00
Compare commits
2 Commits
e95af1d998
...
fb460ab687
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fb460ab687 | ||
|
|
81f409c5ca |
@@ -107,7 +107,7 @@ class KlipperKConfigMenu(BaseMenu):
|
||||
selection: str | None = kwargs.get("opt_data", None)
|
||||
if selection is None:
|
||||
raise Exception("opt_data is None")
|
||||
if not path.isfile(selection):
|
||||
if not path.isfile(selection) and selection != self.kconfig_default:
|
||||
raise Exception("opt_data does not exists")
|
||||
self.kconfig = selection
|
||||
|
||||
|
||||
Reference in New Issue
Block a user