Fixed submission refresh, changed some coloring.

This commit is contained in:
Michael Lazar
2015-02-11 20:29:02 -08:00
parent c2dc8df29f
commit 1b8b25fd8b
4 changed files with 10 additions and 8 deletions

View File

@@ -269,9 +269,9 @@ class SubmissionContent(BaseContent):
elif data['type'] == 'MoreComments':
with self._loader():
comments = data['object'].comments()
comments = self.flatten_comments(comments, root_level=data['level'])
comment_data = [self.strip_praw_comment(c) for c in comments]
self._comment_data[index:index+1] = comment_data
comments = self.flatten_comments(comments, root_level=data['level'])
comment_data = [self.strip_praw_comment(c) for c in comments]
self._comment_data[index:index+1] = comment_data
else:
raise ValueError('% type not recognized' % data['type'])