Fix main memory and storage card detection order for BeBook on windows

This commit is contained in:
Kovid Goyal 2009-06-19 08:46:20 -07:00
parent b6e7713fe3
commit 7e2dd6e5b9

View File

@ -35,12 +35,10 @@ class BEBOOK(USBMS):
SUPPORTS_SUB_DIRS = True
FDI_LUNS = {'lun0':1, 'lun1':0, 'lun2':2}
def windows_sort_drives(self, drives):
main = drives.get('main', None)
card = drives.get('carda', None)
if card and main and card < main:
if card and main and card > main:
drives['main'] = card
drives['carda'] = main