BASE: small fix for print wkf on win32

bzr revid: ced-998eecb089bbebc751d49b43c3a7605af542ef7e
This commit is contained in:
ced 2007-03-15 15:55:03 +00:00
parent 80f0a50e03
commit 243322713b
1 changed files with 3 additions and 3 deletions

View File

@ -144,10 +144,10 @@ class report_graph_instance(object):
(No workflow available) show
showpage'''
if os.name == "nt":
prog = "ps2pdf.bat"
prog = 'ps2pdf.bat'
else:
prog = "ps2pdffoo"
args = (prog, '-sPAPERSIZE=a4', '-', '-')
prog = 'ps2pdf'
args = (prog, '-', '-')
try:
input, output = tools.exec_command_pipe(*args)
except: