This commit is contained in:
Kovid Goyal 2011-11-30 09:57:48 +05:30
parent ef375dd42f
commit 2c333bdf84

View File

@ -200,7 +200,10 @@ class ANDROID(USBMS):
return dirs
def windows_sort_drives(self, drives):
vid, pid, bcd = self.device_being_opened[:3]
try:
vid, pid, bcd = self.device_being_opened[:3]
except:
vid, pid, bcd = -1, -1, -1
if (vid, pid, bcd) == (0x0e79, 0x1408, 0x0222):
letter_a = drives.get('carda', None)
if letter_a is not None: