config.py 168 Bytes
Newer Older
1
2
3
4
5
6
from yaml import load, dump

class Config(object):
    CONFIG_LOCATION = "config.yaml"
    def __init__(self):
        self.data = load(open(self.CONFIG_LOCATION, 'r'))