mirror of
https://gitee.com/openharmony/testfwk_xdevice
synced 2024-11-26 17:12:22 +00:00
处理hdc设备编码兼容问题
Signed-off-by: deveco_xdevice <liguangjie1@huawei.com>
This commit is contained in:
parent
69969b4ac8
commit
06f3661e20
@ -1001,7 +1001,7 @@ class HdcHelper:
|
||||
return str(reply, encoding=encoding)
|
||||
except (ValueError, TypeError) as _:
|
||||
continue
|
||||
return encoding
|
||||
return ""
|
||||
|
||||
@staticmethod
|
||||
def socket(host=None, port=None, timeout=None):
|
||||
|
Loading…
Reference in New Issue
Block a user