From 540fe6fd1bc71202a2dc5c57bea33669273570f3 Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Tue, 16 Oct 2012 19:21:32 +0100 Subject: [PATCH] Slow down the Impress start up loop --- openlp/plugins/songs/lib/oooimport.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openlp/plugins/songs/lib/oooimport.py b/openlp/plugins/songs/lib/oooimport.py index 49e6c2a70..da96dc936 100644 --- a/openlp/plugins/songs/lib/oooimport.py +++ b/openlp/plugins/songs/lib/oooimport.py @@ -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