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 logging
|
||||||
import os
|
import os
|
||||||
|
import time
|
||||||
|
|
||||||
from PyQt4 import QtCore
|
from PyQt4 import QtCore
|
||||||
|
|
||||||
@ -123,6 +124,7 @@ class OooImport(SongImport):
|
|||||||
try:
|
try:
|
||||||
uno_instance = get_uno_instance(resolver)
|
uno_instance = get_uno_instance(resolver)
|
||||||
except NoConnectException:
|
except NoConnectException:
|
||||||
|
time.sleep(0.1)
|
||||||
log.exception("Failed to resolve uno connection")
|
log.exception("Failed to resolve uno connection")
|
||||||
self.startOooProcess()
|
self.startOooProcess()
|
||||||
loop += 1
|
loop += 1
|
||||||
|
Loading…
Reference in New Issue
Block a user