Commit d397a3ad authored by Yusei Tahara's avatar Yusei Tahara

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

parent 1ed8face
......@@ -167,7 +167,7 @@ def getGraph(self, wf_id="", format="png", REQUEST=None):
'-Efontname=IPAexGothic', '-Efontsize=10',
'-T%s' % format),
stdin=subprocess.PIPE, stdout=subprocess.PIPE)
result = p.communicate(pot)[0]
result = p.communicate(result)[0]
setHeader('Content-Type', 'image/%s' % format)
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