File size: 216 Bytes
20f6573
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
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