From 367c4201a3e00a6d718ed2346d7040bc4db8ad9a Mon Sep 17 00:00:00 2001 From: Jason Harvey Date: Tue, 21 Aug 2012 18:58:00 -0700 Subject: [PATCH] Add accounts_active information to the JSON template. --- r2/r2/lib/jsontemplates.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/r2/r2/lib/jsontemplates.py b/r2/r2/lib/jsontemplates.py index 6e9972402..a5a02a26a 100755 --- a/r2/r2/lib/jsontemplates.py +++ b/r2/r2/lib/jsontemplates.py @@ -210,7 +210,9 @@ class SubredditJsonTemplate(ThingJsonTemplate): display_name = "name", header_img = "header", header_size = "header_size", - header_title = "header_title") + header_title = "header_title", + accounts_active = "accounts_active", + ) def thing_attr(self, thing, attr): # Don't reveal revenue information via /r/lounge's subscribers