From b5a2b01402838cafd2b8954f8b26057f5ce1e6c0 Mon Sep 17 00:00:00 2001 From: Dylan De Faoite Date: Sun, 11 Jan 2026 15:11:49 +0000 Subject: [PATCH] remove debug print statements from fetch_subreddit function --- server/app.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/server/app.py b/server/app.py index 72aeebf..1ae2247 100644 --- a/server/app.py +++ b/server/app.py @@ -23,9 +23,6 @@ def index(search, limit = 10): def fetch_subreddit(subreddit, limit = 10): posts = reddit_connector.get_top_subreddit_posts(subreddit, limit=limit, timeframe='all') - for post in posts: - print(f"Post Title: {post.title}, Content: {post.content[:30]}...") - db.execute_many( """INSERT INTO ethnograph.posts (title, content, author_username, created_utc) VALUES (%s, %s, %s, to_timestamp(%s));""",