Slow down openlp to let LibreOffice start

bzr-revno: 2093
This commit is contained in:
Tim Bentley 2012-10-17 06:57:56 +01:00
commit 81b18c308e

View File

@ -27,6 +27,7 @@
###############################################################################
import logging
import os
import time
from PyQt4 import QtCore
@ -123,6 +124,7 @@ class OooImport(SongImport):
try:
uno_instance = get_uno_instance(resolver)
except NoConnectException:
time.sleep(0.1)
log.exception("Failed to resolve uno connection")
self.startOooProcess()
loop += 1