FB2 Output: Fix writing incorrect mimetype.

This commit is contained in:
John Schember 2010-12-04 22:59:37 -05:00
parent 17a1b9fcfb
commit 4d3e99af67

View File

@ -165,7 +165,7 @@ class FB2MLizer(object):
col = 1
col += 1
data += char
images.append('<binary id="%s" content-type="%s">%s\n</binary>' % (self.image_hrefs[item.href], item.media_type, data))
images.append('<binary id="%s">%s\n</binary>' % (self.image_hrefs[item.href], data))
except Exception as e:
self.log.error('Error: Could not include file %s because ' \
'%s.' % (item.href, e))