Added case-insensitivity to page sort

git-svn-id: http://comictagger.googlecode.com/svn/trunk@16 6c5673fe-1810-88d6-992b-cd32ca31540c
This commit is contained in:
beville@gmail.com 2012-11-08 06:25:00 +00:00
parent f43c29977e
commit 9b67d70dde

View File

@ -453,7 +453,9 @@ class ComicArchive:
# get the list file names in the archive, and sort
files = self.archiver.getArchiveFilenameList()
files.sort()
# seems like the scanners are on Windows, and don't know about case-sensitivity!
files.sort(key=lambda x: x.lower())
# find the first image file, assume it's the cover
for name in files: