Comment 7 for bug 889735

Revision history for this message
A. Bram Neijt (bneijt) wrote :

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.