while line is not None and re.match(r"\* ", line) is None:
result.append(line)
line = next(line_iter, None)
- sledrun_json['sled_rental_description'] = ''.join(result).strip()
+ description = ''.join(result).strip()
+ if len(description) > 0:
+ sledrun_json['sled_rental_description'] = description
_sled_rental_description()
i = iter(v.nodes)