diff --git a/src/alpine_bits_python/alpine_bits_helpers.py b/src/alpine_bits_python/alpine_bits_helpers.py index f2558f9..15fe72f 100644 --- a/src/alpine_bits_python/alpine_bits_helpers.py +++ b/src/alpine_bits_python/alpine_bits_helpers.py @@ -775,7 +775,7 @@ def create_xml_from_db(list: list[Tuple[Reservation, Customer]]): comments = [c for c in comments if c is not None] comments_xml = None - if not comments: + if comments: comments_data = CommentsData(comments=comments) comments_xml = alpine_bits_factory.create(comments_data, OtaMessageType.RETRIEVE)