Linter fixes. Added ctrl-d and ctrl-u for pagedown/pageup.

This commit is contained in:
Michael Lazar
2016-02-10 01:02:37 -08:00
parent a0da5fc6ca
commit 5fda5a7999
6 changed files with 25 additions and 20 deletions

View File

@@ -24,9 +24,9 @@ class SubredditPage(Page):
name (string): Name of subreddit to open
url (string): Optional submission to load upon start
"""
self.controller = SubredditController(self, keymap=config.keymap)
super(SubredditPage, self).__init__(reddit, term, config, oauth)
self.controller = SubredditController(self, keymap=config.keymap)
self.content = SubredditContent.from_name(reddit, name, term.loader)
self.nav = Navigator(self.content.get)