From 43f25b588f468bf38d1d28c2710985b73d281664 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Sat, 18 May 2019 09:36:45 +0200 Subject: [PATCH] misc: don't crash rendering a text cell without content (#33227) --- combo/data/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/combo/data/models.py b/combo/data/models.py index 7f86c387..06285c10 100644 --- a/combo/data/models.py +++ b/combo/data/models.py @@ -753,7 +753,7 @@ class TextCell(CellBase): def get_cell_extra_context(self, context): extra_context = super(TextCell, self).get_cell_extra_context(context) - text = self.text + text = self.text or '' render_skeleton = context.get('render_skeleton') def sub_variadic_url(match):