- fixed water model

This commit is contained in:
jens
2020-11-29 19:12:17 +01:00
parent 4a87f361dd
commit 5102ad935c
6 changed files with 30 additions and 34 deletions
+1 -2
View File
@@ -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: