def validate_path(value):
    if value is not None and not os.path.exists(value):
        raise IOError(value % "spool directory %s doesn't exist")
    return value
dataset/ETHPy150Open benoitc/hroute/hroute/config.py/validate_path/swapped operands of `%`