Merge pull request #129 from obosob/pr_misc

Just a couple of little things
This commit is contained in:
michael-lazar
2015-08-10 01:46:54 -07:00
3 changed files with 6 additions and 3 deletions

View File

@@ -127,7 +127,7 @@ class BaseContent(object):
data['score'] = '{} pts'.format(sub.score)
data['author'] = name
data['permalink'] = sub.permalink
data['subreddit'] = strip_subreddit_url(sub.permalink)
data['subreddit'] = str(sub.subreddit)
data['flair'] = flair
data['url_full'] = sub.url