diff options
author | clarkzjw <[email protected]> | 2023-02-22 12:22:51 -0800 |
---|---|---|
committer | clarkzjw <[email protected]> | 2023-02-22 12:22:51 -0800 |
commit | be2bd723e314cf090890961756f019ade7e86b3a (patch) | |
tree | 2f3915d42ab2c923eb16c61d1ab162af2875b182 /bot.py | |
parent | b3786171167337685c21d64f4eed4a7cc1c5b130 (diff) | |
download | swarm2fediverse-be2bd723e314cf090890961756f019ade7e86b3a.tar.gz |
remove some redundant code blocks
Diffstat (limited to 'bot.py')
-rw-r--r-- | bot.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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), |