fixed bad logic introduced into interface setparams, fixed grpc edit link test
This commit is contained in:
parent
3de37f0f5e
commit
7a0edd5927
5 changed files with 4 additions and 7360 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue