Compare commits
2
Commits
| 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