Added more debug logging & FINALLY corrected permission fixer

This commit is contained in:
Simonmicro 2021-12-23 18:59:31 +01:00
parent 81e616ddd1
commit cd07807a80
No known key found for this signature in database
GPG key ID: 033A4D4CE4E063D6
2 changed files with 13 additions and 6 deletions

View file

@ -18,6 +18,7 @@ loggersrv = logging.getLogger('logsrv')
def sql_initialize(dbName):
if not os.path.isfile(dbName):
# Initialize the database.
loggersrv.debug(f'Initializing database file "{dbName}"...')
con = None
try:
con = sqlite3.connect(dbName)