diff --git a/kindlecomicconverter/comic2ebook.py b/kindlecomicconverter/comic2ebook.py index 7cf605c..aa79c3e 100755 --- a/kindlecomicconverter/comic2ebook.py +++ b/kindlecomicconverter/comic2ebook.py @@ -336,6 +336,8 @@ def buildOPF(dstdir, title, filelist, cover=None): ".xhtml\" media-type=\"application/xhtml+xml\"/>\n") if '.png' == filename[1]: mt = 'image/png' + elif '.gif' == filename[1]: + mt = 'image/gif' else: mt = 'image/jpeg' f.write("