mirror of
https://gitlab.com/simple-stock-bots/simple-telegram-stock-bot.git
synced 2026-06-03 21:10:27 +00:00
formatting
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user