Specify css location correctly

This commit is contained in:
Jake Howard 2017-05-03 13:30:38 +01:00
parent bbc669ca92
commit 4975b49380

View file

@ -23,6 +23,8 @@ PDF_OPTIONS = {
"footer-html": FOOTER_FILE,
"footer-spacing": 5,
"header-spacing": 5,
"user-style-sheet": STYLE_FILE
}
@ -34,6 +36,5 @@ def export_pdf(content, config):
content,
os.path.join(os.path.abspath(config['output_dir']), 'output.pdf'),
options=PDF_OPTIONS,
css=STYLE_FILE,
cover=OUTPUT_COVER_FILE
)