From 756b7460f5f6db7416dab3c51f8e8920523e933d Mon Sep 17 00:00:00 2001 From: Philipp Rudiger Date: Wed, 21 Aug 2024 14:11:26 +0200 Subject: [PATCH] Fix serialization on empty Column/Tabs --- lumen/ai/assistant.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lumen/ai/assistant.py b/lumen/ai/assistant.py index 8ede84b3..15e276db 100644 --- a/lumen/ai/assistant.py +++ b/lumen/ai/assistant.py @@ -424,6 +424,8 @@ def _serialize(self, obj): continue if hasattr(o, "visible") and o.visible: break + else: + return "" return self._serialize(o) if isinstance(obj, HTML) and 'catalog' in obj.tags: