Index: xhtml2odt.py
===================================================================
--- xhtml2odt.py	(revision 786e76be35bb0c863e04acd2712ebbc6a79b10a4)
+++ xhtml2odt.py	(revision 57f5ae79ee1c277f1e2f082cc10174ac8113eb99)
@@ -113,5 +113,5 @@
 #pylint#: disable-msg=C0301,C0111
 
-INSTALL_PATH = "."
+INSTALL_PATH = os.path.dirname(__file__)
 
 INCH_TO_CM = 2.54
@@ -285,4 +285,6 @@
                 params["img_default_height"] = "'%s'" % self.options.img_height
         odt = transform(xhtml, **params)
+        # DEBUG
+        #print str(odt)
         return str(odt).replace('<?xml version="1.0" encoding="utf-8"?>','')
 
