fix KeyError
This commit is contained in:
1 parent
332ad463f7
commit
d8d3603339
1 file changed
+1
@@ -171,6 +171,7 @@ class Content(object):
|
||||
data['comments'] = ''
|
||||
data['url_full'] = comment._fast_permalink
|
||||
data['url'] = comment._fast_permalink
|
||||
data['permalink'] = comment._fast_permalink
|
||||
data['nsfw'] = comment.over_18
|
||||
data['subreddit'] = six.text_type(comment.subreddit)
|
||||
data['url_type'] = 'selfpost'
|
||||
|
||||
Reference in new issue
Block a user