Reverted renaming of function call

Searching a weather station with vvs_station_searching is likely to fail..
This commit is contained in:
JuliusFreudenberger 2020-05-12 22:46:15 +02:00
parent db06e812ee
commit b82dba3a9f

2
bot.py
View file

@ -168,7 +168,7 @@ def handle_weather(update, context):
if len(context.args) == 0: if len(context.args) == 0:
update.message.reply_text('Please provide a name!') update.message.reply_text('Please provide a name!')
return return
station_line = search_vvs_station(' '.join(context.args)) station_line = search_weather_station(' '.join(context.args))
if station_line == 'none': if station_line == 'none':
update.message.reply_text('No weather station matching this name found!') update.message.reply_text('No weather station matching this name found!')
return return