diff --git a/src/calibre/ebooks/mobi/writer.py b/src/calibre/ebooks/mobi/writer.py index e3a8f53685..ca5256b430 100644 --- a/src/calibre/ebooks/mobi/writer.py +++ b/src/calibre/ebooks/mobi/writer.py @@ -1334,7 +1334,7 @@ class MobiWriter(object): item = self._oeb.manifest.hrefs[href] try: data = rescale_image(item.data, self._imagemax) - except IOError: + except: self._oeb.logger.warn('Bad image file %r' % item.href) continue self._records.append(data)