From 571e1e82c57519b661b1a7bdc02a541985c34f4d Mon Sep 17 00:00:00 2001 From: Thomas Kajder Date: Sun, 22 Mar 2015 21:23:34 -0600 Subject: [PATCH] Pressing '?' crashed the client as 'docs' was not found in show_help() in curses_helpers.py. Changing docs.HELP.split('\n') to HELP.split('\n') shows help appropriately. --- rtv/curses_helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtv/curses_helpers.py b/rtv/curses_helpers.py index ab151cd..92c6b5c 100644 --- a/rtv/curses_helpers.py +++ b/rtv/curses_helpers.py @@ -60,7 +60,7 @@ def show_help(stdscr): """ Overlay a message box with the help screen. """ - show_notification(stdscr, docs.HELP.split("\n")) + show_notification(stdscr, HELP.split("\n")) class LoadScreen(object): """