Kobo driver: Fix the ignore collections option being accidentally case-insensitive

Merge branch 'master' of https://github.com/davidfor/calibre
This commit is contained in:
Kovid Goyal 2017-05-11 20:10:12 +05:30
commit 6012582c90
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -3063,7 +3063,7 @@ class KOBOTOUCH(KOBO):
# Cache the collection from the options string.
if not hasattr(self.opts, '_ignore_collections_names'):
icn = self.get_pref('ignore_collections_names')
self.opts._ignore_collections_names = [x.lower().strip() for x in icn.split(',')] if icn else []
self.opts._ignore_collections_names = [x.strip() for x in icn.split(',')] if icn else []
return self.opts._ignore_collections_names
@property