Skip to content

Commit

Permalink
Removed empty line, clarified help message
Browse files Browse the repository at this point in the history
  • Loading branch information
sukiletxe authored and RustyBower committed Sep 22, 2022
1 parent c79133f commit b17bacf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sopel_modules/weather/weather.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,6 @@ def get_geocoords(bot, trigger):
return latitude, longitude, location



def get_forecast(bot, trigger):
try:
latitude, longitude, location = get_geocoords(bot, trigger)
Expand Down Expand Up @@ -320,7 +319,7 @@ def weather_command(bot, trigger):
@example('.forecast Seattle, US')
@example('.forecast 90210')
def forecast_command(bot, trigger):
""".forecast location - Show the weather forecast for today and the next three days at the given location."""
""".forecast location - Show the weather forecast for the next 4 days at the given location."""
if bot.config.weather.weather_api_key is None or bot.config.weather.weather_api_key == '':
return bot.reply("Weather API key missing. Please configure this module.")
if bot.config.weather.geocoords_api_key is None or bot.config.weather.geocoords_api_key == '':
Expand Down

0 comments on commit b17bacf

Please sign in to comment.