messing with controller update

This commit is contained in:
Brendan Haines 2020-04-08 13:55:07 -06:00
parent 686a092005
commit 807d502aec

View File

@ -203,8 +203,11 @@ def stop_controller(attrname=None, old=None, new=None):
pass pass
def update_models(attrname=None, old=None, new=None): def update_models(attrname=None, old=None, new=None):
if new is not None:
stop_controller() stop_controller()
print(attrname)
print(old)
print(new)
if new is not None:
exec(new) exec(new)