MCPcopy Create free account
hub / github.com/RobotTelevision/CrowAssistant / load_config

Method load_config

CrowConfig.py:24–31  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

22 self.load_config()
23
24 def load_config(self):
25 print("Loading Config")
26 if os.path.exists(self.CONFIG_FILE):
27 with open(self.CONFIG_FILE, 'r') as f:
28 self.config = json.load(f)
29 else:
30 print("no config")
31 #we need to launch the settings window
32
33 def save_config(self):
34 with open(self.CONFIG_FILE, 'w') as f:

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected