From 3331b1ad07661f6e48997782d365f25e6a00c6fa Mon Sep 17 00:00:00 2001 From: shportix Date: Fri, 3 Nov 2023 17:41:06 +0200 Subject: [PATCH] bad code but... --- src/bitmessagemain.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/bitmessagemain.py b/src/bitmessagemain.py index f6a1024d..c58a9b77 100755 --- a/src/bitmessagemain.py +++ b/src/bitmessagemain.py @@ -179,7 +179,9 @@ class Main(object): # The closeEvent should command this thread to exit gracefully. sqlLookup.daemon = False sqlLookup.start() - helper_sql.sql_available = True + while not helper_sql.sql_available: + pass + Inventory() # init