mirror of
https://github.com/dw-0/kiauh.git
synced 2026-04-04 08:45:15 +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)
|
selection: str | None = kwargs.get("opt_data", None)
|
||||||
if selection is None:
|
if selection is None:
|
||||||
raise Exception("opt_data 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")
|
raise Exception("opt_data does not exists")
|
||||||
self.kconfig = selection
|
self.kconfig = selection
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user