Reverted renaming of function call
Searching a weather station with vvs_station_searching is likely to fail..
This commit is contained in:
parent
db06e812ee
commit
b82dba3a9f
1 changed files with 1 additions and 1 deletions
2
bot.py
2
bot.py
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue