fixed logger issue in database.p
This commit is contained in:
parent
ec3619ae8b
commit
593a4ff3a3
@ -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):
|
||||
|
@ -7,6 +7,8 @@ from ..utils.shared import (
|
||||
DATABASE_LOGGER
|
||||
)
|
||||
|
||||
logger = DATABASE_LOGGER
|
||||
|
||||
|
||||
class TempDatabase(Database):
|
||||
def __init__(self) -> None:
|
||||
|
Loading…
Reference in New Issue
Block a user