Add stickied tag for stickied posts.

This commit is contained in:
5225225
2016-01-09 08:56:58 +00:00
parent e7c910e8fc
commit 7b95ee240e
2 changed files with 4 additions and 0 deletions

View File

@@ -153,6 +153,7 @@ class Content(object):
data['likes'] = sub.likes
data['gold'] = sub.gilded > 0
data['nsfw'] = sub.over_18
data['stickied'] = sub.stickied
data['index'] = None # This is filled in later by the method caller
if sub.url.split('/r/')[-1] == sub.permalink.split('/r/')[-1]: