From a14118eb39bc7e25298bb8c428c61498eec0ebfd Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 1 Oct 2010 11:42:13 -0600 Subject: [PATCH] Alex driver: Do not put files into subdirectories. Also add fb2 to list of supported formats --- src/calibre/devices/hanvon/driver.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/devices/hanvon/driver.py b/src/calibre/devices/hanvon/driver.py index 6291864b86..bea65b0e50 100644 --- a/src/calibre/devices/hanvon/driver.py +++ b/src/calibre/devices/hanvon/driver.py @@ -59,14 +59,14 @@ class ALEX(N516): description = _('Communicate with the SpringDesign Alex eBook reader.') author = 'Kovid Goyal' - FORMATS = ['epub', 'pdf'] + FORMATS = ['epub', 'fb2', 'pdf'] VENDOR_NAME = 'ALEX' WINDOWS_MAIN_MEM = 'READER' MAIN_MEMORY_VOLUME_LABEL = 'Alex Internal Memory' EBOOK_DIR_MAIN = 'eBooks' - SUPPORTS_SUB_DIRS = True + SUPPORTS_SUB_DIRS = False def can_handle(self, device_info, debug=False): return is_alex(device_info)