Fix multi-page Graph output to pdf with filenames containg spaces (#560)

Fixes #10470
This commit is contained in:
Paul Culley 2018-03-02 16:00:00 -06:00 committed by Sam Manzi
parent 6bf33ab899
commit 1687616519

View File

@ -988,7 +988,7 @@ class GVPdfGsDoc(GVDocBase):
os.system(command)
# Merge pieces to single multipage PDF ;
command = '%s -q -dBATCH -dNOPAUSE '\
'-sOUTPUTFILE=%s -r72 -sDEVICE=pdfwrite %s '\
'-sOUTPUTFILE="%s" -r72 -sDEVICE=pdfwrite %s '\
% (_GS_CMD, self._filename, ' '.join(list_of_pieces))
os.system(command)