File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -88,6 +88,9 @@ def get_controller_class(self, controller):
88
88
if interface :
89
89
return shared .USBControllerTypes (interface )
90
90
service = self .get_property_from_wmi (controller ["identifiers" ]["instance_id" ], PnpDeviceProperties .SERVICE )
91
+ if not isinstance (service , str ):
92
+ shared .debug (f"Unknown controller type for interface { interface } and service { service } !" )
93
+ return shared .USBControllerTypes .Unknown
91
94
if service .lower () == "usbxhci" :
92
95
return shared .USBControllerTypes .XHCI
93
96
elif service .lower () == "usbehci" :
Original file line number Diff line number Diff line change 15
15
16
16
from Scripts import shared , utils
17
17
18
- CURRENT_VERSION = "0.0.5 "
18
+ CURRENT_VERSION = "0.0.6 "
19
19
20
20
21
21
class Colors (Enum ):
You can’t perform that action at this time.
0 commit comments