diff --git a/meshroom/ui/commands.py b/meshroom/ui/commands.py index d493149d..d17077e3 100644 --- a/meshroom/ui/commands.py +++ b/meshroom/ui/commands.py @@ -176,7 +176,7 @@ class ListAttributeAppendCommand(GraphCommand): self.attrName = listAttribute.fullName() self.index = None self.count = 1 - self.value = value if len(value) else None + self.value = value if value else None self.setText("Append to {}".format(self.attrName)) def redoImpl(self):