diff options
Diffstat (limited to 'test/enable-device')
-rwxr-xr-x | test/enable-device | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/enable-device b/test/enable-device index b5b1a9cc..64514416 100755 --- a/test/enable-device +++ b/test/enable-device @@ -20,8 +20,11 @@ for path in properties["Devices"]: properties = device.GetProperties() + if "Interface" not in properties.keys(): + continue + if properties["Interface"] != sys.argv[1]: - continue; + continue print "Enabling device %s" % (path) |