From 0c5617df1d678688a82e13f534cabbcda2f85511 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Sun, 10 Jan 2021 08:35:05 -0800 Subject: [PATCH] Remove a line of dead code A second return statement after an unconditional return statement obviously cannot do anything. --- turbot/interaction.py | 2 -- 1 file changed, 2 deletions(-) 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""" -- 2.43.0