mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-28 08:17:58 -05:00
fix for failure when JSON requesting a comment page with 'more comments' links.
This commit is contained in:
@@ -182,9 +182,14 @@ class CommentJsonTemplate(ThingJsonTemplate):
|
||||
return d
|
||||
|
||||
class MoreCommentJsonTemplate(CommentJsonTemplate):
|
||||
__data_attrs__ = dict(id = "_id36",
|
||||
name = "_fullname")
|
||||
def points(self, wrapped):
|
||||
return []
|
||||
|
||||
def kind(self, wrapped):
|
||||
return "more"
|
||||
|
||||
class MessageJsonTemplate(ThingJsonTemplate):
|
||||
__data_attrs__ = dict(id = "_id36",
|
||||
name = "_fullname",
|
||||
|
||||
Reference in New Issue
Block a user