Skip to content

Commit

Permalink
Fix bug #1253
Browse files Browse the repository at this point in the history
(cherry picked from commit 46556ab656ed08a405bc0dc7f5200e3caaf57af9)
  • Loading branch information
yimelia committed Oct 9, 2024
1 parent 6678969 commit 4ebd850
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion airtest/core/ios/instruct_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,9 @@ def usb_device(self):
if usb_dev.info['uuid'] == self.uuid:
self._device = wda.usbmux.Device(udid)
self._udid = udid
break
except:
return None
continue
return self._device

def tear_down(self):
Expand Down

0 comments on commit 4ebd850

Please sign in to comment.