aboutsummaryrefslogtreecommitdiff
path: root/bot.py
diff options
context:
space:
mode:
authorclarkzjw <[email protected]>2023-02-22 12:22:51 -0800
committerclarkzjw <[email protected]>2023-02-22 12:22:51 -0800
commitbe2bd723e314cf090890961756f019ade7e86b3a (patch)
tree2f3915d42ab2c923eb16c61d1ab162af2875b182 /bot.py
parentb3786171167337685c21d64f4eed4a7cc1c5b130 (diff)
downloadswarm2fediverse-be2bd723e314cf090890961756f019ade7e86b3a.tar.gz
remove some redundant code blocks
Diffstat (limited to 'bot.py')
-rw-r--r--bot.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot.py b/bot.py
index 02182cd..e73fe1b 100644
--- a/bot.py
+++ b/bot.py
@@ -17,7 +17,7 @@ from callback import (
17 callback_manual_location, 17 callback_manual_location,
18 callback_location_confirmation, 18 callback_location_confirmation,
19 callback_location_keyword_search, 19 callback_location_keyword_search,
20 callback_skip_location_keyword, 20 callback_skip_location_keyword_search,
21 callback_add_comment, 21 callback_add_comment,
22 callback_skip_comment, 22 callback_skip_comment,
23 callback_add_media 23 callback_add_media
@@ -56,7 +56,7 @@ def main() -> None:
56 ], 56 ],
57 LOCATION_SEARCH_KEYWORD: [ 57 LOCATION_SEARCH_KEYWORD: [
58 MessageHandler(filters.TEXT & ~filters.COMMAND, callback_location_keyword_search), 58 MessageHandler(filters.TEXT & ~filters.COMMAND, callback_location_keyword_search),
59 CallbackQueryHandler(callback_skip_location_keyword), 59 CallbackQueryHandler(callback_skip_location_keyword_search),
60 ], 60 ],
61 LOCATION_CONFIRMATION: [ 61 LOCATION_CONFIRMATION: [
62 CallbackQueryHandler(callback_location_confirmation), 62 CallbackQueryHandler(callback_location_confirmation),
Powered by cgit v1.2.3 (git 2.41.0)