Ran black on the source
This commit is contained in:
parent
908dff6217
commit
f79db55a1d
1 changed files with 4 additions and 3 deletions
|
|
@ -816,9 +816,10 @@ class CmdDestroy(COMMAND_DEFAULT_CLASS):
|
||||||
answer = yield (confirm)
|
answer = yield (confirm)
|
||||||
answer = self.default_confirm if answer == "" else answer
|
answer = self.default_confirm if answer == "" else answer
|
||||||
|
|
||||||
if answer and answer not in ("yes", "y", "no", 'n'):
|
if answer and answer not in ("yes", "y", "no", "n"):
|
||||||
caller.msg("Canceled: Either accept the default by pressing "
|
caller.msg(
|
||||||
"return or specify yes/no.")
|
"Canceled: Either accept the default by pressing " "return or specify yes/no."
|
||||||
|
)
|
||||||
delete = False
|
delete = False
|
||||||
elif answer.strip().lower() in ("n", "no"):
|
elif answer.strip().lower() in ("n", "no"):
|
||||||
caller.msg("Canceled: No object was destroyed.")
|
caller.msg("Canceled: No object was destroyed.")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue