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:
parent
28a90b2472
commit
9552ef169f
3
bot.py
3
bot.py
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user