address Brobin's comments on #126

This commit is contained in:
Obosob
2015-07-30 16:46:47 +01:00
parent 763174fea6
commit f4ea094e93
2 changed files with 7 additions and 4 deletions

View File

@@ -130,7 +130,7 @@ class BaseContent(object):
stripped_url = reddit_link_no_host.search(sub.url).group()
stripped_comments = reddit_link_no_host.search(sub.permalink).group()
data['url'] = ('selfpost' if stripped_url == stripped_comments
else 'x-post via {}'.format(strip_subreddit_url(sub.url)) )
else 'x-post')
else:
data['url'] = sub.url
data['likes'] = sub.likes