forked from openlp/openlp
Slow down openlp to let LibreOffice start
bzr-revno: 2093
This commit is contained in:
commit
81b18c308e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user