diff options
author | Étienne Loks <etienne.loks@proxience.com> | 2015-01-15 15:16:56 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@proxience.com> | 2015-01-24 21:48:41 +0100 |
commit | a687a19ee86386d33f2c2c9dd16ec8340de1d48f (patch) | |
tree | b94ef695a5ebbbcacf7957b707a0f80173d236ab /xhtml2odt | |
parent | 268d7717957fb45041ba0daf5e8bcc029ad43f35 (diff) | |
download | Ishtar-a687a19ee86386d33f2c2c9dd16ec8340de1d48f.tar.bz2 Ishtar-a687a19ee86386d33f2c2c9dd16ec8340de1d48f.zip |
Fix dependencies and path on a clean install
Diffstat (limited to 'xhtml2odt')
-rwxr-xr-x | xhtml2odt/xhtml2odt.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/xhtml2odt/xhtml2odt.py b/xhtml2odt/xhtml2odt.py index b8ebc38de..aa387d54e 100755 --- a/xhtml2odt/xhtml2odt.py +++ b/xhtml2odt/xhtml2odt.py @@ -106,7 +106,11 @@ import mimetypes from StringIO import StringIO from optparse import OptionParser -import tidy +try: + import tidy +except: + from tidylib import tidy_document as tidy + from lxml import etree from PIL import Image |