This commit is contained in:
Kovid Goyal 2011-10-19 06:16:57 +05:30
parent 68a29c213d
commit 6f4a86b36e

View File

@ -5,7 +5,7 @@ __license__ = 'GPL v3'
__copyright__ = '2010, Timothy Legge <timlegge at gmail.com> and Kovid Goyal <kovid@kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
import os, shutil
import os
import sqlite3 as sqlite
from contextlib import closing
from calibre.devices.usbms.books import BookList
@ -756,9 +756,12 @@ class KOBO(USBMS):
blists = {}
for i in paths:
if booklists[i] is not None:
#debug_print('Booklist: ', i)
blists[i] = booklists[i]
try:
if booklists[i] is not None:
#debug_print('Booklist: ', i)
blists[i] = booklists[i]
except IndexError:
pass
opts = self.settings()
if opts.extra_customization:
collections = [x.lower().strip() for x in