mirror of
https://github.com/Faraphel/Atlas-Install.git
synced 2025-07-03 11:18:26 +02:00
11 lines
No EOL
300 B
Python
11 lines
No EOL
300 B
Python
import json
|
|
|
|
|
|
def load_ctconfig_file(self, ctconfig_file: str = "./ct_config.json"):
|
|
"""
|
|
:param ctconfig_file: path to the ctconfig file
|
|
:return: ?
|
|
"""
|
|
with open(ctconfig_file, encoding="utf-8") as f:
|
|
ctconfig_json = json.load(f)
|
|
self.load_ctconfig_json(ctconfig_json) |