[thci] fix warning when set downgrade threshold for ncp device (#3113)

This commit is contained in:
rongli
2018-10-03 23:20:24 -07:00
committed by Jonathan Hui
parent 1b200be545
commit 97aafadf2c
+1 -1
View File
@@ -419,7 +419,7 @@ class OpenThread_WpanCtl(IThci):
"""
print 'call __setRouterDowngradeThreshold'
try:
cmd = WPANCTL_CMD + 'setprop Thread:RouterDowngradeThreshold %s %s' % str(iThreshold)
cmd = WPANCTL_CMD + 'setprop Thread:RouterDowngradeThreshold %s' % str(iThreshold)
return self.__sendCommand(cmd)[0] != 'Fail'
except Exception, e:
ModuleHelper.WriteIntoDebugLogger('setRouterDowngradeThreshold() Error: ' + str(e))