Fixed typo.

This commit is contained in:
Michael Lazar
2015-12-09 21:58:32 -08:00
parent 76d2b8dde9
commit 2650472c77

View File

@@ -142,7 +142,7 @@ class Content(object):
data['created'] = cls.humanize_timestamp(sub.created_utc) data['created'] = cls.humanize_timestamp(sub.created_utc)
data['comments'] = '{0} comments'.format(sub.num_comments) data['comments'] = '{0} comments'.format(sub.num_comments)
data['score'] = '{0} pts'.format( data['score'] = '{0} pts'.format(
'-' if sub.hide_score else comment.score) '-' if sub.hide_score else sub.score)
data['author'] = name data['author'] = name
data['permalink'] = sub.permalink data['permalink'] = sub.permalink
data['subreddit'] = six.text_type(sub.subreddit) data['subreddit'] = six.text_type(sub.subreddit)