]> git.cworth.org Git - turbot/commitdiff
Remove a line of dead code
authorCarl Worth <cworth@cworth.org>
Sun, 10 Jan 2021 16:35:05 +0000 (08:35 -0800)
committerCarl Worth <cworth@cworth.org>
Sun, 10 Jan 2021 16:35:05 +0000 (08:35 -0800)
A second return statement after an unconditional return statement
obviously cannot do anything.

turbot/interaction.py

index f50a83495fee11761a27bcd3f1051ced3b493d35..23467d6874b5e83aa0470e889a99b6e449fdd230 100644 (file)
@@ -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"""