mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Make the check_library ignore lists preserve case.
This commit is contained in:
parent
a118aa54d9
commit
f9b9a1c70e
@ -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)
|
||||
|
@ -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]
|
||||
|
Loading…
x
Reference in New Issue
Block a user