diff --git a/addons/mstpctl.py b/addons/mstpctl.py index 52fcba1..a632b0c 100644 --- a/addons/mstpctl.py +++ b/addons/mstpctl.py @@ -263,7 +263,7 @@ class mstpctl(moduleBase): self.get_mod_subattr(attrname,'default'))): # this happens when customers remove an attribute # and expect the default to be restored with ifreload. - v = get_mod_subattr(attrname,'default') + v = self.get_mod_subattr(attrname,'default') elif not v: continue