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)