Fixed comments error
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user