mirror of
https://github.com/markqvist/NomadNet.git
synced 2026-11-19 22:46:26 -05:00
Ensure important future options availability
This commit is contained in:
parent
5752e70124
commit
814cd043b8
1 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue