From 628da0e454c5a45d58cc103b9ce8baec9841171c Mon Sep 17 00:00:00 2001 From: Jean-Francois Dockes Date: Mon, 17 Jun 2019 10:30:02 +0200 Subject: [PATCH] pst: new file name was appended to pffexport command instead of replacing old --- src/filters/rclpst.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/filters/rclpst.py b/src/filters/rclpst.py index 15e8ea46..bad75c34 100755 --- a/src/filters/rclpst.py +++ b/src/filters/rclpst.py @@ -258,7 +258,7 @@ class PstExtractor(object): self.cmd = [self.pffexport, "-q", "-t", self.target, "-s"] def startCmd(self, filename, ipath=None): - fullcmd = self.cmd + fullcmd = list(self.cmd) if ipath: # There is no way to pass an utf-8 string on the command # line on Windows. Use base64 encoding @@ -266,6 +266,7 @@ class PstExtractor(object): fullcmd += ["-p", bip.decode("UTF-8")] fn = _backslashize(rclexecm.subprocfile(filename)) fullcmd += [fn,] + #self.em.rclog("PstExtractor: command: [%s]" % fullcmd) try: self.proc = subprocess.Popen(fullcmd, stdout=subprocess.PIPE) except subprocess.CalledProcessError as err: