Ensure important future options availability

This commit is contained in:
Mark Qvist 2026-05-22 22:57:53 +02:00
parent 5752e70124
commit 814cd043b8

View file

@ -164,6 +164,7 @@ class NomadNetworkApp:
self.rrc_ui_render_markdown = True
self.rrc_ui_render_micron = True
self.rrc_show_gutters = False
self.rrc_enable_esoterics = False
if not os.path.isdir(self.storagepath):
os.makedirs(self.storagepath)
@ -1046,6 +1047,11 @@ class NomadNetworkApp:
except Exception: value = False
self.rrc_show_gutters = value
if option == "enable_esoterics":
try: value = self.config["rrc"].as_bool(option)
except Exception: value = False
self.rrc_enable_esoterics = value
if "node" in self.config:
if not "enable_node" in self.config["node"]:
self.enable_node = False