shiftgears/myconfig.py
2020-04-16 23:10:44 +10:00

10 lines
193 B
Python

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")