Fixed webbrowser behavior for terminal browsers.

This commit is contained in:
Michael Lazar
2015-05-14 21:51:54 -07:00
parent c419a3fd23
commit 1b6fed2ec3
3 changed files with 40 additions and 12 deletions

View File

@@ -108,9 +108,7 @@ class SubmissionPage(BasePage):
type=data['type'].lower(),
content=content)
curses.endwin()
comment_text = open_editor(comment_info)
curses.doupdate()
if not comment_text:
show_notification(self.stdscr, ['Aborted'])
return