From a715281a846e0898710ffd38bbe410facd7079b3 Mon Sep 17 00:00:00 2001 From: im85288 Date: Fri, 3 Apr 2015 11:49:39 +0100 Subject: [PATCH] dialog reference issues --- resources/lib/Utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/lib/Utils.py b/resources/lib/Utils.py index b1e53184..e619ef22 100644 --- a/resources/lib/Utils.py +++ b/resources/lib/Utils.py @@ -166,6 +166,7 @@ def reset(): while(WINDOW.getProperty("SyncDatabaseRunning") == "true"): count += 1 if(count > 10): + dialog = xbmcgui.Dialog() dialog.ok('Warning', 'Could not stop DB sync, you should try again.') return xbmc.sleep(1000) @@ -180,6 +181,7 @@ def reset(): except: deletecount += 1 if(deletecount > 10): + dialog = xbmcgui.Dialog() dialog.ok('Warning', 'Could not delete Database, please try again later') return xbmc.sleep(1000)