Hack to get around not displaying comments and posts
This commit is contained in:
1 parent
6b3ad77ac8
commit
1bda8aa015
1 file changed
+4
-1
+4
-1
@@ -455,7 +455,10 @@ class SubredditContent(Content):
|
||||
else:
|
||||
# TODO: In order to display saved comment, we need to
|
||||
# coerce the comment into a submission
|
||||
data = self.strip_praw_submission(submission)
|
||||
try:
|
||||
data = self.strip_praw_submission(submission)
|
||||
except:
|
||||
continue
|
||||
data['index'] = index
|
||||
# Add the post number to the beginning of the title
|
||||
data['title'] = '{0}. {1}'.format(index+1, data.get('title'))
|
||||
|
||||
Reference in new issue
Block a user