Added exception handling for voting if the user isnt logged in.

This commit is contained in:
Michael Lazar
2015-03-14 01:05:11 -07:00
parent a58d7ef450
commit f61303eae1
2 changed files with 28 additions and 21 deletions

View File

@@ -15,7 +15,8 @@ from .errors import EscapePressed
HELP = """
Global Commands
`UP/DOWN` or `j/k` : Scroll to the prev/next item
`r` or `F5` : Refresh the current page
`a/z` : Upvote/downvote the selected item
`r` : Refresh the current page
`q` : Quit the program
`o` : Open the selected item in the default web browser
`?` : Show this help message
@@ -315,4 +316,4 @@ def curses_session():
stdscr.keypad(0)
curses.echo()
curses.nocbreak()
curses.endwin()
curses.endwin()