diff --git a/gramps/gen/plug/docgen/graphdoc.py b/gramps/gen/plug/docgen/graphdoc.py index 31da27655..3b3fc6778 100644 --- a/gramps/gen/plug/docgen/graphdoc.py +++ b/gramps/gen/plug/docgen/graphdoc.py @@ -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)