From c63e7d0d0a29d4033b7bd18ac6bde876164b282e Mon Sep 17 00:00:00 2001
From: Nicolas Delaby <nicolas@nexedi.com>
Date: Wed, 2 Feb 2011 15:51:31 +0000
Subject: [PATCH] revert r42894 as this hack didn't help to workaround a bug
 quickly.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42940 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/Document/PDFDocument.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/ERP5/Document/PDFDocument.py b/product/ERP5/Document/PDFDocument.py
index 6fc6903d84..41d73a1104 100644
--- a/product/ERP5/Document/PDFDocument.py
+++ b/product/ERP5/Document/PDFDocument.py
@@ -218,7 +218,7 @@ class PDFDocument(Image):
 
     command_result = None
     try:
-      command = ['/usr/bin/pdf2djvu', tmp.name]
+      command = ['pdf2djvu', tmp.name]
       try:
         command_result = Popen(command, stdout=PIPE).communicate()[0]
       except OSError, e:
-- 
2.30.9