mirror of
https://github.com/dw-0/kiauh.git
synced 2026-05-20 08:28:16 +05:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e95af1d998 | |||
| 2aefd86040 |
@@ -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) and selection != self.kconfig_default:
|
if not path.isfile(selection):
|
||||||
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