removed unnecessary test method

This commit is contained in:
JuliusFreudenberger 2019-10-17 14:37:11 +02:00
parent 21a9da3684
commit 0e08ae8b2b

4
bot.py
View file

@ -32,10 +32,6 @@ class Query:
self.departure_count = int(arguments[argument_names.index(' times ') + 1])
def start(update):
update.message.reply_text("Hello")
def search_station(query):
request = requests.get("https://efa-api.asw.io/api/v1/station/?search=" + query)
if request.status_code != 200 or (request.status_code == 200 and len(request.text) <= 2):