0001-workflows-isolate-libreoffice-UserInstallation-direc.patch
wcs/wf/export_to_model.py | ||
---|---|---|
80 | 80 |
infile.flush() |
81 | 81 |
for i in range(3): |
82 | 82 |
lo_output = subprocess.run( |
83 |
['libreoffice', '--headless', '--convert-to', 'pdf', |
|
83 |
['libreoffice', '-env:UserInstallation=file://%s' % temp_dir, |
|
84 |
'--headless', '--convert-to', 'pdf', |
|
84 | 85 |
infile.name, '--outdir', temp_dir], |
85 | 86 |
check=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE) |
86 | 87 |
if os.path.exists(infile.name + '.pdf'): |
87 |
- |