mirror of
https://github.com/developersIndia/deviras.git
synced 2024-11-22 21:23:10 +05:30
fix empty user
This commit is contained in:
parent
24be5dcd82
commit
7c90a350e9
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user