Improve comment
This commit is contained in:
parent
4e793180c1
commit
5b33978259
@ -784,7 +784,7 @@ class AlertPrompt(_BasePrompt):
|
|||||||
def accept(self, value=None):
|
def accept(self, value=None):
|
||||||
if value is not None:
|
if value is not None:
|
||||||
raise Error("No value is permitted with alert prompts!")
|
raise Error("No value is permitted with alert prompts!")
|
||||||
# Doing nothing otherwise
|
# Simply mark prompt as done without setting self.question.answer
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def _allowed_commands(self):
|
def _allowed_commands(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user