change type tether to usb

This commit is contained in:
Alone_Monkey 2018-07-13 09:27:12 +08:00 committed by GitHub
parent 5a1992b52f
commit e53e81ecc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ def get_usb_iphone():
device = None
while device is None:
devices = [dev for dev in device_manager.enumerate_devices() if dev.type == 'tether']
devices = [dev for dev in device_manager.enumerate_devices() if dev.type == 'usb']
if len(devices) == 0:
print 'Waiting for USB device...'
changed.wait()