From 604726e8bba798d609253f9b1e8bb88fafa7062c Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Wed, 21 Oct 2020 13:38:40 -0700 Subject: [PATCH] Drop unused initialization of submission_handlers dictionary We don't use this dictionary with any statically-initialized keys, (such as "new_hunt" as we have it here). Instead, this dictionary is populated dynamically with keys that are view IDs. So we can just drop this initialization here and everything continues to work as is. --- turbot/actions.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/turbot/actions.py b/turbot/actions.py index 700a7b4..9df05ad 100644 --- a/turbot/actions.py +++ b/turbot/actions.py @@ -121,7 +121,3 @@ actions = { "new_hunt": new_hunt } } - -submission_handlers = { - "new_hunt": new_hunt_submission -} -- 2.45.2