Make the check_library ignore lists preserve case.

This commit is contained in:
Charles Haley 2010-10-02 14:00:21 +01:00
parent a118aa54d9
commit f9b9a1c70e
2 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -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]