diff --git a/module/device/connection_attr.py b/module/device/connection_attr.py index b54430661..cfa78a927 100644 --- a/module/device/connection_attr.py +++ b/module/device/connection_attr.py @@ -65,8 +65,9 @@ class ConnectionAttr: except ValueError: pass # 夜神模拟器 127.0.0.1:62001 + # MuMu模拟器12127.0.0.1:16384 if '模拟' in serial: - res = re.search(r'(\d+\.\d+\.\d+\.\d+:\d+)', serial) + res = re.search(r'(127\.\d+\.\d+\.\d+:\d+)', serial) if res: serial = res.group(1) return str(serial)