diff options
author | Benjamin Saller <bcsaller@objectrealms.net> | 2007-07-30 21:19:45 (GMT) |
---|---|---|
committer | Benjamin Saller <bcsaller@objectrealms.net> | 2007-07-30 21:19:45 (GMT) |
commit | aa498c2e38c63f13171ff98ed5c63d9c3805a826 (patch) | |
tree | 8df39c5595bcf53cf0598a58d9f8023f6ab303eb | |
parent | 6a90ec6c94beee949fb847513d4b72d382127dd2 (diff) |
use abiword to do odt conversion. this likely needs the extra plugins for abi to work
-rw-r--r-- | src/olpc/datastore/converter.py | 5 |
1 files changed, 2 insertions, 3 deletions
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) |