提交 641d0bea 编写于 作者: A alex_hold 提交者: Gitee

update extension/src/xdevice_extension/_core/environment/device_monitor.py.

Signed-off-by: <hejian3@huawei.com>
上级 3c0d3ae0
...@@ -86,7 +86,7 @@ class DeviceStateMonitor(object): ...@@ -86,7 +86,7 @@ class DeviceStateMonitor(object):
while int(time.time()*1000) - start_time < wait_time: while int(time.time()*1000) - start_time < wait_time:
try: try:
result = self.device.get_recover_result(retry=0) result = self.device.get_recover_result(retry=0)
if result == "1": if result == "ohos":
return True return True
except Exception as exception: except Exception as exception:
self.device.log.error("wait for boot complete exception: %s" self.device.log.error("wait for boot complete exception: %s"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册