[commands] ListAttributeAppendCommand: handle 'None' as value

This commit is contained in:
Yann Lanthony 2017-11-14 15:14:12 +01:00
parent 8b2224609c
commit 5f49e26216

View file

@ -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):