mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
105cb39e68
commit
b0ab1a0e65
@ -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]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user