1
0
mirror of https://gitlab.com/simple-stock-bots/simple-stock-bot.git synced 2025-06-16 15:17:28 +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. Handles inline query.
Does a fuzzy search on input and returns stocks that are close. 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) matches = s.search_symbols(update.inline_query.query)
results = [] results = []
for match in matches: for match in matches:
try: try: