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

import __main__


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