Read the hidden attribute from the api response
This commit is contained in:
@@ -230,7 +230,7 @@ class Content(object):
|
|||||||
data['gold'] = sub.gilded > 0
|
data['gold'] = sub.gilded > 0
|
||||||
data['nsfw'] = sub.over_18
|
data['nsfw'] = sub.over_18
|
||||||
data['stickied'] = sub.stickied
|
data['stickied'] = sub.stickied
|
||||||
data['hidden'] = False
|
data['hidden'] = sub.hidden
|
||||||
data['xpost_subreddit'] = None
|
data['xpost_subreddit'] = None
|
||||||
data['index'] = None # This is filled in later by the method caller
|
data['index'] = None # This is filled in later by the method caller
|
||||||
data['saved'] = sub.saved
|
data['saved'] = sub.saved
|
||||||
|
|||||||
Reference in New Issue
Block a user