MCPcopy Create free account
hub / github.com/dedsec1121fk/DedSec / save_config

Function save_config

Scripts/Developer Base/Smart Notes.py:117–123  ·  view source on GitHub ↗
(cfg)

Source from the content-addressed store, hash-verified

115
116
117def save_config(cfg):
118 try:
119 with open(CONFIG_FILE, 'w') as f:
120 json.dump(cfg, f, indent=2)
121 return True
122 except Exception:
123 return False
124
125
126def ensure_termux_api():

Callers 1

main_menuFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected