def pad(value):
    """
	Add one space padding around value if value is valid.

	Args:
		value (string): Value

	Returns:
		string: Value with padding if value was valid else one space
	"""
    return ' %s ' % value if value else ' '
