Added start blocke on no database connection available

This commit is contained in:
2024-12-14 20:28:04 +01:00
parent 559ad1b882
commit 903a2b8dc1
13 changed files with 161 additions and 41 deletions

View File

@@ -7,10 +7,10 @@ class ContactModel(QObject):
contactIdReady = Signal(int)
def __init__(self):
super().__init__()
# print(f"*** File: {__file__}, __init__()")
#self.logger = logging.getLogger()
self.__conf = ConfigLoader().getConfig()
self.__key = self.__conf['pyqcrm']['ENCRYPTION_KEY']
#self.logger = logging.getLogger()
# print(f"*** File: {__file__}, __init__()")
self.__data = self.__getData()
def getContacts(self):