From 642b6cb7a5df2d999d518e41f902196206493215 Mon Sep 17 00:00:00 2001 From: Jonas Linter Date: Mon, 29 Sep 2025 17:36:35 +0200 Subject: [PATCH] Fixed comments error --- src/alpine_bits_python/alpine_bits_helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)