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

@@ -17,9 +17,9 @@ class SubmissionController(PageController):
class SubmissionPage(Page):
def __init__(self, reddit, term, config, oauth, url=None, submission=None):
self.controller = SubmissionController(self, keymap=config.keymap)
super(SubmissionPage, self).__init__(reddit, term, config, oauth)
self.controller = SubmissionController(self, keymap=config.keymap)
if url:
self.content = SubmissionContent.from_url(reddit, url, term.loader)
else: