fix configparser

function is not required when using python_function as dispatcher