bug fixing
This commit is contained in:
@@ -58,7 +58,7 @@ class Database:
|
||||
|
||||
await db.commit()
|
||||
|
||||
logger.info(f"Database initialized at {self.db_path}")
|
||||
logger.debug(f"Database initialized at {self.db_path}")
|
||||
|
||||
async def article_exists(self, article_id: str) -> bool:
|
||||
"""Check if article already exists in database"""
|
||||
@@ -173,7 +173,7 @@ class Database:
|
||||
await db.commit()
|
||||
|
||||
if deleted > 0:
|
||||
logger.info(f"Cleaned up {deleted} old articles")
|
||||
logger.debug(f"Cleaned up {deleted} old articles")
|
||||
|
||||
def _row_to_article(self, row: aiosqlite.Row) -> Article:
|
||||
"""Convert database row to Article model"""
|
||||
|
||||
Reference in New Issue
Block a user