I'd have to take some time to fork the code, but why not use something
like:
import os
def isLibreOffice(binaryPath):
return "libre" in os.path.realpath(binaryPath).lower()
print "is libre", isLibreOffice("/usr/bin/soffice")
I have not tested this on Windows, but it should help fix the errors on my
system at least ;) Post a comment if you want me to take the time to convert
this into a patch on github.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/889735
Title:
unoconv using deprecated LibreOffice switches
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unoconv/+bug/889735/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs