From 2650472c77f1965f07c1d79a47c20509c825d58d Mon Sep 17 00:00:00 2001 From: Michael Lazar Date: Wed, 9 Dec 2015 21:58:32 -0800 Subject: [PATCH] Fixed typo. --- rtv/content.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtv/content.py b/rtv/content.py index 0ee5eaf..f172986 100644 --- a/rtv/content.py +++ b/rtv/content.py @@ -142,7 +142,7 @@ class Content(object): data['created'] = cls.humanize_timestamp(sub.created_utc) data['comments'] = '{0} comments'.format(sub.num_comments) data['score'] = '{0} pts'.format( - '-' if sub.hide_score else comment.score) + '-' if sub.hide_score else sub.score) data['author'] = name data['permalink'] = sub.permalink data['subreddit'] = six.text_type(sub.subreddit)