Fixed and tested the monitor/unmonitor inputfunc from both GMCP and MSDP
This commit is contained in:
parent
899ce2f138
commit
4883512342
1 changed files with 1 additions and 1 deletions
|
|
@ -118,7 +118,7 @@ class MonitorHandler(object):
|
||||||
|
|
||||||
"""
|
"""
|
||||||
if not fieldname.startswith("db_") or not hasattr(obj, fieldname):
|
if not fieldname.startswith("db_") or not hasattr(obj, fieldname):
|
||||||
# an Attribute - we track it's db_value field
|
# an Attribute - we track its db_value field
|
||||||
obj = obj.attributes.get(fieldname, return_obj=True)
|
obj = obj.attributes.get(fieldname, return_obj=True)
|
||||||
if not obj:
|
if not obj:
|
||||||
return
|
return
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue