mirror of
https://github.com/developersIndia/deviras.git
synced 2025-05-31 14:11:43 +05:30
fix empty user
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user