From b6e7713fe3cb8fef21d18b873e7072051fc392ea Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 19 Jun 2009 08:45:07 -0700 Subject: [PATCH] Fix main memory and storage card detection order for BeBook on OS X --- src/calibre/devices/bebook/driver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/devices/bebook/driver.py b/src/calibre/devices/bebook/driver.py index 2fb756b532..6709cf217c 100644 --- a/src/calibre/devices/bebook/driver.py +++ b/src/calibre/devices/bebook/driver.py @@ -63,7 +63,7 @@ class BEBOOK(USBMS): except: card_num = None - if card_num is not None and main_num is not None and card_num < main_num: + if card_num is not None and main_num is not None and card_num > main_num: names['main'] = card names['carda'] = main