From: Carl Worth Date: Sun, 10 Jan 2021 16:35:05 +0000 (-0800) Subject: Remove a line of dead code X-Git-Url: https://git.cworth.org/git?p=turbot;a=commitdiff_plain;h=0c5617df1d678688a82e13f534cabbcda2f85511 Remove a line of dead code A second return statement after an unconditional return statement obviously cannot do anything. --- diff --git a/turbot/interaction.py b/turbot/interaction.py index f50a834..23467d6 100644 --- a/turbot/interaction.py +++ b/turbot/interaction.py @@ -112,8 +112,6 @@ def edit_puzzle_command(turb, body): return edit_puzzle(turb, puzzle, trigger_id) - return lambda_ok - def edit_puzzle_button(turb, payload): """Handler for the action of user pressing an edit_puzzle button"""