BASE: small fix for print wkf on win32
bzr revid: ced-998eecb089bbebc751d49b43c3a7605af542ef7e
This commit is contained in:
parent
80f0a50e03
commit
243322713b
|
@ -144,10 +144,10 @@ class report_graph_instance(object):
|
||||||
(No workflow available) show
|
(No workflow available) show
|
||||||
showpage'''
|
showpage'''
|
||||||
if os.name == "nt":
|
if os.name == "nt":
|
||||||
prog = "ps2pdf.bat"
|
prog = 'ps2pdf.bat'
|
||||||
else:
|
else:
|
||||||
prog = "ps2pdffoo"
|
prog = 'ps2pdf'
|
||||||
args = (prog, '-sPAPERSIZE=a4', '-', '-')
|
args = (prog, '-', '-')
|
||||||
try:
|
try:
|
||||||
input, output = tools.exec_command_pipe(*args)
|
input, output = tools.exec_command_pipe(*args)
|
||||||
except:
|
except:
|
||||||
|
|
Loading…
Reference in New Issue