Compare commits

..

2 Commits

Author SHA1 Message Date
CODeRUS
e95af1d998 Merge 2aefd86040 into 4978f22101 2025-02-08 13:34:02 +01:00
Andrey Kozhevnikov
2aefd86040 feature: save and select kconfig
Signed-off-by: Andrey Kozhevnikov <coderusinbox@gmail.com>
2025-02-02 22:44:58 +07:00

View File

@@ -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) and selection != self.kconfig_default:
if not path.isfile(selection):
raise Exception("opt_data does not exists")
self.kconfig = selection