Added a [Comment] tag to the subreddit view and added cassettes

This commit is contained in:
Michael Lazar
2017-06-08 00:01:58 -04:00
parent 3bb50fc9a9
commit 57064a7b36
16 changed files with 10361 additions and 5526 deletions

View File

@@ -159,7 +159,7 @@ class Content(object):
else:
# Saved comments don't have a nested level and are missing a couple
# of fields like ``submission``. As a result, we can only load a
# subset of fields to avoid triggering a seperate api call to load
# subset of fields to avoid triggering a separate api call to load
# the full comment.
author = getattr(comment, 'author', '[deleted]')
stickied = getattr(comment, 'stickied', False)
@@ -167,8 +167,8 @@ class Content(object):
data['type'] = 'SavedComment'
data['level'] = None
data['title'] = comment.body
data['comments'] = ''
data['title'] = '[Comment] {0}'.format(comment.body)
data['comments'] = None
data['url_full'] = comment._fast_permalink
data['url'] = comment._fast_permalink
data['permalink'] = comment._fast_permalink