From ba95f535474f0634eb93a08d0103f0614542af4a Mon Sep 17 00:00:00 2001 From: Max Goodman Date: Tue, 23 Jul 2013 17:59:34 -0700 Subject: [PATCH] Add missing title property to SubSR. Fixes AttributeError on /reddits.rss. --- r2/r2/models/subreddit.py | 1 + 1 file changed, 1 insertion(+) diff --git a/r2/r2/models/subreddit.py b/r2/r2/models/subreddit.py index 8c5d9d004..652f173cc 100644 --- a/r2/r2/models/subreddit.py +++ b/r2/r2/models/subreddit.py @@ -1544,6 +1544,7 @@ class SubSR(FakeSubreddit): stylesheet = 'subreddit.css' #this will make the javascript not send an SR parameter name = '' + title = '' def can_view(self, user): return True