From 3400dcca70db2ee31d30fb35e41643ab30187bda Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Tue, 1 Nov 2022 13:26:26 -0300 Subject: [PATCH] [Render_3D][Fixed] Problems when the list of components is None --- kibot/out_base.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kibot/out_base.py b/kibot/out_base.py index 837548a4..004dfa85 100644 --- a/kibot/out_base.py +++ b/kibot/out_base.py @@ -853,7 +853,9 @@ class VariantOptions(BaseOptions): def expand_kf_components(self, components): """ Expands references to filters in show_components """ - if not components or not self._filters_to_expand: + if not components: + return [] + if not self._filters_to_expand: return components new_list = [] if self._comps: