Clean-up and rename variables
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user