Read the hidden attribute from the api response

This commit is contained in:
Michael Lazar
2018-06-03 00:04:25 -04:00
parent 33c8933564
commit 6b808b5d3d

View File

@@ -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