Update subreddit.py

pull/437/head
null3000 3 years ago committed by GitHub
parent 41ebf3b5e5
commit 054cc84186
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -67,6 +67,7 @@ def get_subreddit_threads():
for top_level_comment in submission.comments: for top_level_comment in submission.comments:
if not top_level_comment.stickied: if not top_level_comment.stickied:
if not comment.author == None:
content["comments"].append( content["comments"].append(
{ {
"comment_body": top_level_comment.body, "comment_body": top_level_comment.body,

Loading…
Cancel
Save