Skip to content

Commit

Permalink
fix empty user
Browse files Browse the repository at this point in the history
  • Loading branch information
Bhupesh-V committed Aug 15, 2024
1 parent 24be5dc commit 7c90a35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion community-threads/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def get_post_data(reddit, post_url):
submission.created_utc
).isoformat(),
"flair_text": submission.link_flair_text,
"author": submission.author.name,
"author": submission.author.name if submission.author else "",
}
return post

Expand Down

0 comments on commit 7c90a35

Please sign in to comment.