tykiww's picture
Create utilities/setup.py
20f6573 verified
raw
history blame
216 Bytes
import json
import os
def get_json_cfg():
"""Retrieve configuration file"""
config_path = os.getenv('CONFIG_PATH')
with open(config_path, 'r') as file:
config = json.load(file)
return config