Added exception handling for voting if the user isnt logged in.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user