mirror of
https://github.com/developersIndia/deviras.git
synced 2024-12-22 08:09:49 +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
|
submission.created_utc
|
||||||
).isoformat(),
|
).isoformat(),
|
||||||
"flair_text": submission.link_flair_text,
|
"flair_text": submission.link_flair_text,
|
||||||
"author": submission.author.name,
|
"author": submission.author.name if submission.author else "",
|
||||||
}
|
}
|
||||||
return post
|
return post
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user