Improved database module structure

This commit is contained in:
2020-12-06 21:14:57 +01:00
parent 8551a0b7b7
commit 6977b9ae05
9 changed files with 10 additions and 23 deletions

View File

@@ -54,7 +54,7 @@ class Logger(LoggerBase):
# open log file, create if not exists
path = f'{self._path}{self._log}'
f = open(path, "w+")
Console.write_line(f'[{__name__}]: Using log file: {path}', 'green')
Console.write_line(f'[{__name__}]: Using log file: {path}')
f.close()
except Exception as e:
self._fatal_console(__name__, 'Cannot open log file', ex=e)