content.py: more standardization
This commit is contained in:
@@ -140,8 +140,8 @@ class BaseContent(object):
|
||||
|
||||
elif reddit_link.match(data['url_full']):
|
||||
data['url_type'] = 'x-post'
|
||||
data['url'] = 'x-post via {}'.format(strip_subreddit_url(
|
||||
data['url_full'])[3:])
|
||||
data['url'] = 'self.{}'.format(strip_subreddit_url(
|
||||
data['url_full'])[3:])
|
||||
|
||||
else:
|
||||
data['url_type'] = 'external'
|
||||
|
||||
Reference in New Issue
Block a user