content.py: correct subreddit on xpost info
This commit is contained in:
1 parent
21d5c7acca
commit
c2065e00b5
1 file changed
+2
-1
+2
-1
@@ -140,7 +140,8 @@ class BaseContent(object):
|
||||
|
||||
elif reddit_link.match(data['url_full']):
|
||||
data['url_type'] = 'x-post'
|
||||
data['url'] = 'x-post via {}'.format(data['subreddit'])
|
||||
data['url'] = 'x-post via {}'.format(strip_subreddit_url(
|
||||
data['url_full'])[3:])
|
||||
|
||||
else:
|
||||
data['url_type'] = 'external'
|
||||
|
||||
Reference in new issue
Block a user