Added debug print to list_posts to check if posts are found

This commit is contained in:
2025-10-15 16:44:51 +03:00
parent fb50eb1a19
commit 34698c7fe1
+1
View File
@@ -1001,6 +1001,7 @@ ID: {user_info['ID']}
return
posts = db.get_scheduled_posts(chat_id=update.effective_chat.id)
print(f"DEBUG: Found {len(posts)} posts for chat {update.effective_chat.id}") # Отладочная информация
if not posts:
await update.message.reply_text(SCHEDULER_MESSAGES['no_posts'])