From fa664369b977d91b5bc8fb94c3b35a352cf90a8d Mon Sep 17 00:00:00 2001 From: iaacornus Date: Sun, 5 Jun 2022 13:21:19 +0800 Subject: [PATCH] fixed indentation --- reddit/subreddit.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/reddit/subreddit.py b/reddit/subreddit.py index 9d0c93d..ffeaccb 100644 --- a/reddit/subreddit.py +++ b/reddit/subreddit.py @@ -64,13 +64,13 @@ def get_subreddit_threads(subreddit_): for top_level_comment in submission.comments: if not top_level_comment.stickied: - content["comments"].append( - { - "comment_body": top_level_comment.body, - "comment_url": top_level_comment.permalink, - "comment_id": top_level_comment.id, - } - ) + content["comments"].append( + { + "comment_body": top_level_comment.body, + "comment_url": top_level_comment.permalink, + "comment_id": top_level_comment.id, + } + ) except AttributeError as e: pass