提交 9e665f2f 编写于 作者: P Paul Idstein 提交者: Idstein, Paul

Support ADB IP devices

Regex will not match ADB IP devices.
上级 05f3dc93
......@@ -111,7 +111,7 @@ def clear_phone_data_dir(serialno, phone_data_dir):
################################
def adb_devices():
serialnos = []
p = re.compile(r'([\w|-]+)\s+device')
p = re.compile(r'(\S+)\s+device')
for line in split_stdout(sh.adb("devices")):
m = p.match(line)
if m:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册