From bb3ceb6a8ee9b0aa205dddc311413806c982ef29 Mon Sep 17 00:00:00 2001 From: Andre D Date: Mon, 7 Jan 2013 17:09:58 -0500 Subject: [PATCH] wiki: Fix broken json template. --- r2/r2/lib/jsontemplates.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r2/r2/lib/jsontemplates.py b/r2/r2/lib/jsontemplates.py index 10ba6be51..a5a088ebf 100755 --- a/r2/r2/lib/jsontemplates.py +++ b/r2/r2/lib/jsontemplates.py @@ -584,7 +584,7 @@ class TrafficJsonTemplate(JsonTemplate): class WikiJsonTemplate(JsonTemplate): def render(self, thing, *a, **kw): try: - content = thing.content + content = thing.inner_content except AttributeError: content = thing.listing return ObjectTemplate(content.render() if thing else {})