mirror of
https://github.com/dw-0/kiauh.git
synced 2026-05-19 07:58:17 +05:00
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