From bd94ab583cdec21991f74882f33712a64ff9bfdc Mon Sep 17 00:00:00 2001 From: WuKangJian Date: Wed, 8 Feb 2023 13:15:57 +0800 Subject: [PATCH] =?UTF-8?q?fixbug:=20=E6=97=A0=E7=BA=BF=E8=AE=BE=E5=A4=87?= =?UTF-8?q?=E8=A2=AB=E8=BF=87=E6=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit aaf3926a1ca7a974d42bff2aa2ecfe87e1d0eb14) --- airtest/core/android/adb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airtest/core/android/adb.py b/airtest/core/android/adb.py index 6dfb8c20..b5ad85ff 100644 --- a/airtest/core/android/adb.py +++ b/airtest/core/android/adb.py @@ -254,7 +254,7 @@ def devices(self, state=None): list od adb devices """ - patten = re.compile(r'^[\w\d.:-]+\t[\w]+$') + patten = re.compile(r'[\w\d.:-]+\t[\w]+$') device_list = [] # self.start_server() output = self.cmd("devices", device=False)