mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
d5845852f6
commit
afc88ad4f8
@ -2332,7 +2332,7 @@ class KOBOTOUCH(KOBO):
|
|||||||
def _kepubify(self, path, name, mi, extra_css) -> None:
|
def _kepubify(self, path, name, mi, extra_css) -> None:
|
||||||
from calibre.ebooks.oeb.polish.errors import DRMError
|
from calibre.ebooks.oeb.polish.errors import DRMError
|
||||||
from calibre.ebooks.oeb.polish.kepubify import kepubify_path
|
from calibre.ebooks.oeb.polish.kepubify import kepubify_path
|
||||||
debug_print(f'Converting {mi.title} ({name}) to kepub')
|
debug_print(f'Starting conversion of {mi.title} ({name}) to kepub')
|
||||||
try:
|
try:
|
||||||
kepubify_path(path, outpath=path, allow_overwrite=True)
|
kepubify_path(path, outpath=path, allow_overwrite=True)
|
||||||
except DRMError:
|
except DRMError:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user