From: W. Trevor King Date: Tue, 5 Feb 2013 16:52:30 +0000 (-0500) Subject: Fix 'hint' -> 'help' typos X-Git-Tag: v0.1~60 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=eeeca9bb57f2b54a6b709d498bb5a132050d9ef9;p=quizzer.git Fix 'hint' -> 'help' typos --- diff --git a/quiz.json b/quiz.json index 9677dba..894105e 100644 --- a/quiz.json +++ b/quiz.json @@ -4,12 +4,12 @@ { "prompt": "What is your name?", "answer": "", - "hint": "This should be easy" + "help": "This should be easy" }, { "prompt": "What is your quest?", "answer": "To seek the Holy Grail", - "hint": "Think like a Pythonista", + "help": "Think like a Pythonista", "dependencies": [ "What is your name?" ] @@ -18,7 +18,7 @@ "class": "NormalizedStringQuestion", "prompt": "What is your favourite color?", "answer": "blue", - "hint": "Channel Sir Lancelot", + "help": "Channel Sir Lancelot", "dependencies": [ "What is your quest?" ] @@ -26,7 +26,7 @@ { "prompt": "What is the capital of Assyria?", "answer": "I don't know that", - "hint": "Sir Robin didn't know it either", + "help": "Sir Robin didn't know it either", "dependencies": [ "What is your quest?" ] diff --git a/quizzer/ui/cli.py b/quizzer/ui/cli.py index b28d89f..3ff4ce5 100644 --- a/quizzer/ui/cli.py +++ b/quizzer/ui/cli.py @@ -20,7 +20,7 @@ class CommandLineInterface (UserInterface): if a in ['?', 'help']: print() print(question.prompt) - print(question.hint) + print(question.help) continue break correct = self.process_answer(question=question, answer=answer)