mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-31 14:33:54 -04:00
IGN:...
This commit is contained in:
parent
8327c7f235
commit
126fec5c7d
@ -62,7 +62,7 @@ def remove_bad_link(element, attribute, link, pos):
|
||||
|
||||
def check(opf_path, pretty_print):
|
||||
'''
|
||||
Find a remove all invalid links in the HTML files
|
||||
Find and remove all invalid links in the HTML files
|
||||
'''
|
||||
logger = logging.getLogger('html2epub')
|
||||
logger.info('\tChecking files for bad links...')
|
||||
|
@ -38,6 +38,7 @@ def any2lit(opts, path):
|
||||
os.mkdir(oebdir)
|
||||
opts.output = os.path.join(tdir, 'dummy.epub')
|
||||
opts.extract_to = oebdir
|
||||
opts.profile = 'None'
|
||||
any2epub(opts, path)
|
||||
opf = glob.glob(os.path.join(oebdir, '*.opf'))[0]
|
||||
opts.output = orig_output
|
||||
|
Loading…
x
Reference in New Issue
Block a user