From fbc5688c600f2baaa2f796bbed2dcc992c3962b8 Mon Sep 17 00:00:00 2001 From: Jack Lawson Date: Wed, 13 May 2015 17:31:13 -0700 Subject: [PATCH] Remove "if author" check from subs/default api --- r2/r2/controllers/listingcontroller.py | 1 - 1 file changed, 1 deletion(-) diff --git a/r2/r2/controllers/listingcontroller.py b/r2/r2/controllers/listingcontroller.py index 036b3095a..693182c64 100644 --- a/r2/r2/controllers/listingcontroller.py +++ b/r2/r2/controllers/listingcontroller.py @@ -1301,7 +1301,6 @@ class RedditsController(ListingController): return [ sr._fullname for sr in Subreddit.default_subreddits(ids=False) - if getattr(sr, 'author_id', -1) is not -1 ] else: reddits = Subreddit._query( write_cache = True,