Fix return in finally warning

This commit is contained in:
Annikka 2026-01-12 20:50:14 -05:00
parent b49438a819
commit 0cc31d3a06

View file

@ -4241,7 +4241,7 @@ class CmdSpawn(COMMAND_DEFAULT_CLASS):
# treat as string
eval_err = err
prototype = utils.to_str(inp)
finally:
# it's possible that the input was a prototype-key, in which case
# it's okay for the LITERAL_EVAL to fail. Only if the result does not
# match the expected type do we have a problem.