mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
92eb7e7ac1
commit
8aa1df125e
@ -254,7 +254,8 @@ class HTMLInput(InputFormatPlugin):
|
|||||||
except EnvironmentError:
|
except EnvironmentError:
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
media_type = self.guess_type('dummy.'+img)[0] or self.BINARY_MIME
|
if img:
|
||||||
|
media_type = self.guess_type('dummy.'+img)[0] or self.BINARY_MIME
|
||||||
|
|
||||||
self.oeb.log.debug('Added', link)
|
self.oeb.log.debug('Added', link)
|
||||||
self.oeb.container = self.DirContainer(os.path.dirname(link),
|
self.oeb.container = self.DirContainer(os.path.dirname(link),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user