def load_config(resource_json, permission_json):
    try:
        with codecs.open(resource_json, encoding="utf-8") as f_resource, \
                codecs.open(permission_json, encoding="utf-8") as f_permission:
            return json.load(f_resource), json.load(f_permission)
    except IOError as e:
        e.strerror = "can't load auth config file: %s" % e.strerror
        raise
load resource.json and permission.json
dataset/ETHPy150Open guyskk/flask-restaction/flask_restaction/auth.py/load_config