coverity cid 192591 (fix typo)

This commit is contained in:
Mark Ganson TheMarkster
2020-07-21 16:23:03 -05:00
committed by Yorik van Havre
parent 0491fa4ab9
commit 690652a57e

View File

@@ -419,7 +419,7 @@ def fetch_resources(uri, rel):
def createpdf_pisa(pagename):
"creates a pdf file from a saved page using pisa (python module)"
import ho.pisa as pisa
if (not exists(pagename+".pdf",image=True)) or OVERWRTIE:
if (not exists(pagename+".pdf",image=True)) or OVERWRITE:
infile = open(FOLDER + os.sep + pagename+'.html','ro')
outfile = open(FOLDER + os.sep + pagename+'.pdf','wb')
if VERBOSE: print("Converting " + pagename + " to pdf...")