mirror of
https://github.com/Py-KMS-Organization/py-kms.git
synced 2025-07-20 00:35:53 +02:00
Added more debug logging & FINALLY corrected permission fixer
This commit is contained in:
parent
81e616ddd1
commit
cd07807a80
2 changed files with 13 additions and 6 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue