From bf73c1182162ad294559705eb0973208aae6dec1 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Tue, 19 Apr 2022 18:44:52 -0300 Subject: [PATCH] Fixed problems when using %VARIANT:% in the 3D models variants Fixes #191 --- kibot/out_base_3d.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kibot/out_base_3d.py b/kibot/out_base_3d.py index ee4dd6dd..7464c016 100644 --- a/kibot/out_base_3d.py +++ b/kibot/out_base_3d.py @@ -201,7 +201,7 @@ class Base3DOptions(VariantOptions): if match: # Check if this is for the current variant var = match.group(1) - slots = match.group(2).split(',') + slots = match.group(2).split(',') if match.group(2) else [] if var == self.variant.name: # Disable the unused models adding bogus text to the end slots = [int(v) for v in slots]