Permalink
Browse files

- Fix a small bug in unoconv

  • Loading branch information...
1 parent 007947c commit 0e96a4a5e1c2225b00ba9f3a548d0134b8f4ed22 @dagwieers committed Feb 16, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 unoconv
View
@@ -877,6 +877,7 @@ class Listener:
def __init__(self):
info(1, "Start listener on %s:%s" % (op.server, op.port))
try:
+ product = uno.getComponentContext().ServiceManager.createInstance("com.sun.star.configuration.ConfigurationProvider").createInstanceWithArguments("com.sun.star.configuration.ConfigurationAccess", UnoProps(nodepath="/org.openoffice.Setup/Product"))
if product.ooName != "LibreOffice" or product.ooSetupVersion <= 3.3:
subprocess.call([office.binary, "-headless", "-invisible", "-nocrashreport", "-nodefault", "-nologo", "-nofirststartwizard", "-norestore", "-accept=%s" % op.connection], env=os.environ)
else:

0 comments on commit 0e96a4a

Please sign in to comment.