Improved config error reporting.

This commit is contained in:
Michael Lazar
2016-02-10 00:35:51 -08:00
parent d08b9f47be
commit a0da5fc6ca
7 changed files with 24 additions and 26 deletions

View File

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