1
0
mirror of https://gitlab.com/simple-stock-bots/simple-telegram-stock-bot.git synced 2025-06-16 15:06:53 +00:00

formatting

This commit is contained in:
Anson 2020-04-15 07:32:42 -07:00
parent 28a90b2472
commit 9552ef169f

3
bot.py
View File

@ -114,8 +114,9 @@ def inline_query(update, context):
Handles inline query.
Does a fuzzy search on input and returns stocks that are close.
"""
print(update.inline_query.query)
matches = s.search_symbols(update.inline_query.query)
results = []
for match in matches:
try: