Ignore image files that begin with ".". They're probably cruft.
git-svn-id: http://comictagger.googlecode.com/svn/trunk@265 6c5673fe-1810-88d6-992b-cd32ca31540c
This commit is contained in:
parent
a602c42f0e
commit
4a94bf4d6f
@ -571,7 +571,7 @@ class ComicArchive:
|
||||
# make a sub-list of image files
|
||||
page_list = []
|
||||
for name in files:
|
||||
if ( name[-4:].lower() in [ ".jpg", "jpeg", ".png" ] ):
|
||||
if ( name[-4:].lower() in [ ".jpg", "jpeg", ".png" ] and os.path.basename(name)[0] != "." ):
|
||||
page_list.append(name)
|
||||
|
||||
return page_list
|
||||
|
Loading…
Reference in New Issue
Block a user