mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-23 19:44:45 +01:00
IGN:...
This commit is contained in:
commit
ba463864d0
1 changed files with 1 additions and 1 deletions
|
|
@ -178,7 +178,7 @@ def open_windows(self):
|
|||
for drive in c.Win32_DiskDrive():
|
||||
if self.windows_match_device(str(drive.PNPDeviceID), WINDOWS_MAIN_MEM):
|
||||
drives['main'] = self.windows_get_drive_prefix(drive)
|
||||
else if self.windows_match_device(str(drive.PNPDeviceID), WINDOWS_CARD_MEM):
|
||||
elif self.windows_match_device(str(drive.PNPDeviceID), WINDOWS_CARD_MEM):
|
||||
drives['card'] = self.windows_get_drive_prefix(drive)
|
||||
|
||||
if 'main' and 'card' in drives.keys():
|
||||
|
|
|
|||
Loading…
Reference in a new issue