From f9b9a1c70ef16b29e470d8ee93a88c39112537ac Mon Sep 17 00:00:00 2001 From: Charles Haley <> Date: Sat, 2 Oct 2010 14:00:21 +0100 Subject: [PATCH] Make the check_library ignore lists preserve case. --- src/calibre/gui2/dialogs/check_library.py | 2 +- src/calibre/library/cli.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/calibre/gui2/dialogs/check_library.py b/src/calibre/gui2/dialogs/check_library.py index 09f3c14fcb..29e5a2097c 100644 --- a/src/calibre/gui2/dialogs/check_library.py +++ b/src/calibre/gui2/dialogs/check_library.py @@ -73,7 +73,7 @@ class CheckLibraryDialog(QDialog): QDialog.accept(self) def box_to_list(self, txt): - return [f.strip().lower() for f in txt.split(',') if f.strip()] + return [f.strip() for f in txt.split(',') if f.strip()] def run_the_check(self): checker = CheckLibrary(self.db.library_path, self.db) diff --git a/src/calibre/library/cli.py b/src/calibre/library/cli.py index 1396fa0014..46f40f9c31 100644 --- a/src/calibre/library/cli.py +++ b/src/calibre/library/cli.py @@ -930,11 +930,11 @@ def command_check_library(args, dbpath): if opts.names is None: names = [] else: - names = [f.strip().lower() for f in opts.names.split(',') if f.strip()] + names = [f.strip() for f in opts.names.split(',') if f.strip()] if opts.exts is None: exts = [] else: - exts = [f.strip().lower() for f in opts.exts.split(',') if f.strip()] + exts = [f.strip() for f in opts.exts.split(',') if f.strip()] def print_one(checker, check): attr = check[0]