diff --git a/database/db.py b/database/db.py index d5cd03b..192b307 100644 --- a/database/db.py +++ b/database/db.py @@ -7,7 +7,6 @@ _db: aiosqlite.Connection | None = None - async def init_db() -> None: global _db db_path = Path(settings.database_path) @@ -35,4 +34,4 @@ async def close_db() -> None: global _db if _db is not None: await _db.close() - _db = None + _db = None \ No newline at end of file