From df156c351bfe7871bb694b93871b921dc6f3a294 Mon Sep 17 00:00:00 2001 From: Jason Ji Date: Thu, 21 Sep 2017 18:34:01 -0700 Subject: [PATCH] fixed variable name issue --- app/weather.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/weather.py b/app/weather.py index c57e32be..e502eeb5 100644 --- a/app/weather.py +++ b/app/weather.py @@ -26,7 +26,7 @@ def get_weather(message): """ loc = parse_loc(message) try: - forecaster = openweathermap.three_hours_forecast(location) + forecaster = openweathermap.three_hours_forecast(loc) forecast = forecaster.get_forecast() reg = forecast.get(0)