mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-19 20:16:30 +02:00
[commands] ListAttributeAppendCommand: handle 'None' as value
This commit is contained in:
parent
8b2224609c
commit
5f49e26216
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue