projects
/
quizzer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ee85fb
)
ui.cli: Quit after the last question
author
W. Trevor King
<wking@tremily.us>
Wed, 6 Feb 2013 21:35:57 +0000
(16:35 -0500)
committer
W. Trevor King
<wking@tremily.us>
Wed, 6 Feb 2013 21:39:04 +0000
(16:39 -0500)
Oops, should have tested that when I transitioned to Cmd ;).
quizzer/ui/cli.py
patch
|
blob
|
history
diff --git
a/quizzer/ui/cli.py
b/quizzer/ui/cli.py
index f133362f2a773069a094d5816fe3f2f46ae28845..d2859cfdbd15e6cf07599034cdddd61f4717f6a6 100644
(file)
--- a/
quizzer/ui/cli.py
+++ b/
quizzer/ui/cli.py
@@
-61,10
+61,10
@@
class QuestionCommandLine (_cmd.Cmd):
if self.question.multiline:
self._set_ps2()
else:
- self._answer()
+
return
self._answer()
def emptyline(self):
- self._answer()
+
return
self._answer()
def _answer(self):
if self.question.multiline: