File size: 331 Bytes
0eddb61 3806abd |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
import json
import os
def load_config(file_path):
with open(file_path) as f:
config = json.load(f)
return config
def get_custom_config_dropdowns(config_path):
path = os.getcwd()
dropdown_config_path = path + config_path
dropdown_config = load_config(dropdown_config_path)
return dropdown_config
|