mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Added format check before calling _update_epub_metadata
This commit is contained in:
parent
f55e5efa2a
commit
d3b728d532
@ -1306,7 +1306,8 @@ class ITUNES(DriverBase):
|
|||||||
if DEBUG:
|
if DEBUG:
|
||||||
self.log.info(" ITUNES._add_new_copy()")
|
self.log.info(" ITUNES._add_new_copy()")
|
||||||
|
|
||||||
self._update_epub_metadata(fpath, metadata)
|
if fpath.rpartition('.')[2].lower() == 'epub':
|
||||||
|
self._update_epub_metadata(fpath, metadata)
|
||||||
|
|
||||||
db_added = None
|
db_added = None
|
||||||
lb_added = None
|
lb_added = None
|
||||||
|
Loading…
x
Reference in New Issue
Block a user