This commit is contained in:
Kovid Goyal 2016-01-19 16:55:37 +05:30
parent 105cb39e68
commit b0ab1a0e65

View File

@ -42,7 +42,7 @@ class USBDevice:
if iswindows: if iswindows:
# Getting this information requires communicating with the device # Getting this information requires communicating with the device
# we only do that in the can_handle_windows() method, if needed. # we only do that in the can_handle_windows() method, if needed.
self.manufacturer = self.serial = self.product = '' self.manufacturer = self.serial = self.product = None
else: else:
self.manufacturer = dev[3] self.manufacturer = dev[3]
self.product = dev[4] self.product = dev[4]