From d907dc79177124e5e6d42ed78129816bbf10fd0e Mon Sep 17 00:00:00 2001 From: null3000 <76852813+null3000@users.noreply.github.com> Date: Mon, 13 Jun 2022 14:03:14 -0700 Subject: [PATCH] fixed error --- reddit/subreddit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reddit/subreddit.py b/reddit/subreddit.py index a448dcd..b01b058 100644 --- a/reddit/subreddit.py +++ b/reddit/subreddit.py @@ -67,7 +67,7 @@ def get_subreddit_threads(): for top_level_comment in submission.comments: if not top_level_comment.stickied: - if not comment.author == None: + if not top_level_comment.author == None: content["comments"].append( { "comment_body": top_level_comment.body,