fix some conversion

This commit is contained in:
chrys 2018-05-29 19:33:36 +02:00
parent 61cb242783
commit 52bc162b10

View File

@ -110,9 +110,7 @@ class attributeManager():
cursorPos = cursor.copy()
try:
attribute = self.getAttributeByXY( cursorPos['x'], cursorPos['y'])
print(attribute)
if isinstance(attribute, tuple):
attribute = list(attribute)
if self.isDefaultAttribute(attribute):
return False
if update: