shiftgears/myconfig.py

11 lines
193 B
Python
Raw Permalink Normal View History

2020-04-16 08:58:21 -04:00
import os
import json
import mapping
os.chdir(os.path.dirname(os.path.realpath(__file__)))
with open("config.json") as f:
config = json.load(f)
mappings = mapping.load_mappings("mappings")