Commit 674d2230 authored by Yusei Tahara's avatar Yusei Tahara Committed by Jérome Perrin

ERP5Type/patches/DCWorkflowGraph: Fix "Translate Graph" bug.

parent ff468c02
...@@ -167,7 +167,7 @@ def getGraph(self, wf_id="", format="png", REQUEST=None): ...@@ -167,7 +167,7 @@ def getGraph(self, wf_id="", format="png", REQUEST=None):
'-Efontname=IPAexGothic', '-Efontsize=10', '-Efontname=IPAexGothic', '-Efontsize=10',
'-T%s' % format), '-T%s' % format),
stdin=subprocess.PIPE, stdout=subprocess.PIPE) stdin=subprocess.PIPE, stdout=subprocess.PIPE)
result = p.communicate(pot)[0] result = p.communicate(result)[0]
setHeader('Content-Type', 'image/%s' % format) setHeader('Content-Type', 'image/%s' % format)
else: else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment