bug fixing

This commit is contained in:
2026-01-26 13:24:40 +01:00
parent 29a7f12abe
commit 37eb03583c
11 changed files with 493 additions and 48 deletions

View File

@@ -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"""