diff --git a/gramps/gen/plug/docgen/graphdoc.py b/gramps/gen/plug/docgen/graphdoc.py index 359bc978f..f68e3105f 100644 --- a/gramps/gen/plug/docgen/graphdoc.py +++ b/gramps/gen/plug/docgen/graphdoc.py @@ -986,7 +986,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)