From af4b46781403d9e5232bf7dda568ef66125f34b6 Mon Sep 17 00:00:00 2001 From: "beville@gmail.com" Date: Sat, 2 Feb 2013 06:02:25 +0000 Subject: [PATCH] Added support for gif in archive git-svn-id: http://comictagger.googlecode.com/svn/trunk@389 6c5673fe-1810-88d6-992b-cd32ca31540c --- comicarchive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comicarchive.py b/comicarchive.py index d75c0a2..508ceaf 100644 --- a/comicarchive.py +++ b/comicarchive.py @@ -694,7 +694,7 @@ class ComicArchive: # make a sub-list of image files self.page_list = [] for name in files: - if ( name[-4:].lower() in [ ".jpg", "jpeg", ".png" ] and os.path.basename(name)[0] != "." ): + if ( name[-4:].lower() in [ ".jpg", "jpeg", ".png", ".gif" ] and os.path.basename(name)[0] != "." ): self.page_list.append(name) return self.page_list