diff --git a/src/music_kraken/database/database.py b/src/music_kraken/database/database.py index ce9420e..91360d1 100644 --- a/src/music_kraken/database/database.py +++ b/src/music_kraken/database/database.py @@ -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): diff --git a/src/music_kraken/database/temp_database.py b/src/music_kraken/database/temp_database.py index 1231e49..dfb0a3d 100644 --- a/src/music_kraken/database/temp_database.py +++ b/src/music_kraken/database/temp_database.py @@ -7,6 +7,8 @@ from ..utils.shared import ( DATABASE_LOGGER ) +logger = DATABASE_LOGGER + class TempDatabase(Database): def __init__(self) -> None: