summaryrefslogtreecommitdiff
path: root/ausbutler/config.py
blob: 7a0f57da326c559650961b0c96f84240382043f0 (plain)
1
2
3
4
5
6
7
8
from os import path
import json
import __main__

def load_config(filename):
    return json.load(
        open(path.join(path.dirname(__main__.__file__),
                       'config', filename + '.json')))