fixed bad logic introduced into interface setparams, fixed grpc edit link test

This commit is contained in:
bharnden 2019-06-02 22:20:00 -07:00
parent 3de37f0f5e
commit 7a0edd5927
5 changed files with 4 additions and 7360 deletions

View file

@ -142,7 +142,7 @@ class CoreInterface(object):
"""
# treat None and 0 as unchanged values
current_value = self._params.get(key)
if current_value is None or current_value == value or current_value <= 0 and value <= 0:
if value is None or current_value == value or current_value <= 0 and value <= 0:
return False
self._params[key] = value