fixed logger issue in database.p

This commit is contained in:
Hellow 2022-11-27 15:07:02 +01:00
parent ec3619ae8b
commit 593a4ff3a3
2 changed files with 6 additions and 0 deletions

View File

@ -6,7 +6,11 @@ import json
import requests
from . import song
from ..utils.shared import (
DATABASE_LOGGER
)
logger = DATABASE_LOGGER
class Database:
def __init__(self, path_to_db: str, db_structure: str, db_structure_fallback: str, reset_anyways: bool = False):

View File

@ -7,6 +7,8 @@ from ..utils.shared import (
DATABASE_LOGGER
)
logger = DATABASE_LOGGER
class TempDatabase(Database):
def __init__(self) -> None: