avoid bad check that prevents reverting link configuration to 0
This commit is contained in:
parent
2cd0f381ea
commit
527a44748d
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ class CoreInterface(object):
|
|||
"""
|
||||
# treat None and 0 as unchanged values
|
||||
logging.debug("setting param: %s - %s", key, value)
|
||||
if value is None or value <= 0:
|
||||
if value is None or value < 0:
|
||||
return False
|
||||
|
||||
current_value = self._params.get(key)
|
||||
|
|
Loading…
Reference in a new issue