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