- fixed water model
This commit is contained in:
+1
-2
@@ -45,9 +45,8 @@ class AttributeChange(object):
|
||||
def __setattr__(self, key, value):
|
||||
try:
|
||||
old = super().__getattribute__(key)
|
||||
print("Change: {} from {} to {}".format(key, old, value))
|
||||
except:
|
||||
print("Create: {} and initialize with {}".format(key, value))
|
||||
pass
|
||||
super().__setattr__(key, value)
|
||||
|
||||
if key in self.callbacks:
|
||||
|
||||
Reference in New Issue
Block a user