This commit is contained in:
Kovid Goyal 2008-12-16 14:46:54 -08:00
parent 8327c7f235
commit 126fec5c7d
2 changed files with 2 additions and 1 deletions

View File

@ -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...')

View File

@ -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