import json


def loadconfig(configlocation='teams.config'):
    """ Import config from json file at (default) 'teams.config' """
    conf = {}
    with open(configlocation, 'r') as conffile:
        conf = json.load(conffile)
    return conf