Clean-up and rename variables

This commit is contained in:
2024-12-10 21:46:33 +01:00
parent 8830e277ec
commit 7c61b2a532
8 changed files with 25 additions and 32 deletions

View File

@@ -2,19 +2,16 @@ from PySide6.QtCore import QAbstractTableModel, QModelIndex, Qt, Slot
from .ContactDAO import ContactDAO
import logging
logger = logging.getLogger()
print(__name__)
class ContactModel:
def __init__(self):
print(f"*** File: {__file__}, __init__()")
super().__init__()
#self.logger = logging.getLogger()
print(f"*** File: {__file__}, __init__()")
self.__data = self.__getData()
def getContacts(self):
print(f"*** File: {__file__}, getContacts()")
logger.debug("A debug message")
logging.debug("No debug message")
return self.__data
def __getData(self):