def load_floorc_json():
    # Expose a few settings for curious users to tweak
    s = {
        'expert_mode': False,
        'debug': False,
    }
    try:
        with open(G.FLOORC_JSON_PATH, 'r') as fd:
            floorc_json = fd.read()
    except IOError as e:
        if e.errno == errno.ENOENT:
            return s
        raise

    try:
        default_settings = json.loads(floorc_json)
    except __HOLE__:
        return s

    for k, v in default_settings.items():
        s[k.upper()] = v
    return s
dataset/ETHPy150Open Floobits/floobits-sublime/floo/common/utils.py/load_floorc_json