Cleaned up SubredditContent.from_name

This commit is contained in:
Michael Lazar
2016-07-20 00:45:45 -07:00
parent 3f90fdc70c
commit e7c2d82d93
4 changed files with 114 additions and 99 deletions

View File

@@ -18,8 +18,8 @@ class SubscriptionPage(Page):
super(SubscriptionPage, self).__init__(reddit, term, config, oauth)
self.controller = SubscriptionController(self, keymap=config.keymap)
self.content = SubscriptionContent.from_user(reddit, term.loader,
content_type)
self.content = SubscriptionContent.from_user(
reddit, term.loader, content_type)
self.nav = Navigator(self.content.get)
self.content_type = content_type
self.subreddit_data = None