Merge remote-tracking branch 'origin' into tests

This commit is contained in:
Jake Howard 2017-06-01 21:03:31 +01:00
commit bb4cfa962a

View file

@ -50,7 +50,7 @@ def export_pdf(content, config):
os.path.join(os.path.abspath(config['output_dir']), 'output.pdf'), os.path.join(os.path.abspath(config['output_dir']), 'output.pdf'),
options=PDF_OPTIONS, options=PDF_OPTIONS,
cover=FILE_NAME_FORMAT.format('cover'), cover=FILE_NAME_FORMAT.format('cover'),
toc=TOC_OPTIONS if config['toc'] else {}, toc=TOC_OPTIONS if config.get('toc') else {},
cover_first=True cover_first=True
) )
if not render_ok: if not render_ok: