From 6b808b5d3d518b1504a2d8c2db0a6c8e19ac1e8d Mon Sep 17 00:00:00 2001 From: Michael Lazar Date: Sun, 3 Jun 2018 00:04:25 -0400 Subject: [PATCH] Read the `hidden` attribute from the api response --- rtv/content.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtv/content.py b/rtv/content.py index 4d68841..4fd8670 100644 --- a/rtv/content.py +++ b/rtv/content.py @@ -230,7 +230,7 @@ class Content(object): data['gold'] = sub.gilded > 0 data['nsfw'] = sub.over_18 data['stickied'] = sub.stickied - data['hidden'] = False + data['hidden'] = sub.hidden data['xpost_subreddit'] = None data['index'] = None # This is filled in later by the method caller data['saved'] = sub.saved