def load(provider, config_location=DEFAULT_CONFIG_DIR):
    """Load provider specific auth info from file """

    auth = None
    auth_file = None
    try:
        config_dir = os.path.join(config_location, NOIPY_CONFIG)
        print(config_dir % "Loading stored auth info [%s]... ", end="")
        auth_file = os.path.join(config_dir, provider)
        with open(auth_file) as f:
            auth_key = f.read()
            auth = ApiAuth.get_instance(auth_key.encode('utf-8'))
        print("OK.")
    except IOError as e:
        print('{0}: "{1}"'.format(e.strerror, auth_file))
        raise e

    return auth
dataset/ETHPy150Open pv8/noipy/noipy/authinfo.py/load/swapped operands of `%`