From aa498c2e38c63f13171ff98ed5c63d9c3805a826 Mon Sep 17 00:00:00 2001 From: Benjamin Saller Date: Mon, 30 Jul 2007 21:19:45 +0000 Subject: use abiword to do odt conversion. this likely needs the extra plugins for abi to work --- diff --git a/src/olpc/datastore/converter.py b/src/olpc/datastore/converter.py index e5baf47..75f7568 100644 --- a/src/olpc/datastore/converter.py +++ b/src/olpc/datastore/converter.py @@ -160,7 +160,6 @@ converter.registerConverter('.doc', doctotext) converter.registerConverter('application/msword', doctotext) # ODT -odt2txt = subprocessconverter('/usr/bin/odt2txt --encoding=UTF-8 --output=%(target)s %(source)s') -converter.registerConverter('.odt', odt2txt) -converter.registerConverter('application/vnd.oasis.opendocument.text', odt2txt) +converter.registerConverter('.odt', doctotext) +converter.registerConverter('application/vnd.oasis.opendocument.text', doctotext) -- cgit v0.9.1