fixed some janky things that autopep8 did

This commit is contained in:
Tobin
2015-03-31 09:38:20 -05:00
parent 16ab77fc2c
commit ac98f564a3
3 changed files with 17 additions and 35 deletions

View File

@@ -59,13 +59,8 @@ class SubredditPage(BasePage):
n_rows, n_cols = self.stdscr.getmaxyx()
self.stdscr.addstr(n_rows - 1, 0, prompt, attr)
self.stdscr.refresh()
window = self.stdscr.derwin(
1,
n_cols -
len(prompt),
n_rows -
1,
len(prompt))
window = self.stdscr.derwin(1, n_cols - len(prompt),
n_rows - 1, len(prompt))
window.attrset(attr)
out = text_input(window)