From a901b0b374ce7f7541f924fb4e95c7a7b837d463 Mon Sep 17 00:00:00 2001 From: Jason Ji Date: Sun, 24 Sep 2017 12:06:45 -0700 Subject: [PATCH] clean up clean up --- app/weather.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/weather.py b/app/weather.py index 5402c595..73a965f3 100644 --- a/app/weather.py +++ b/app/weather.py @@ -24,6 +24,8 @@ def get_weather(message): get_weather(location) Returns the weather forecast for the selected location. Uses PythonOWM. + + TODO: Create a list of weather preferences - rain > sun, snow > rain, etc. """ try: forecaster = openweathermap.three_hours_forecast(message) @@ -53,7 +55,7 @@ def get_weather(message): temps = day.get_temperature('fahrenheit') h = temps.get('temp_max') l = temps.get('temp_min') - print(forecast.get(i + j).get_detailed_status()) + # print(forecast.get(i + j).get_detailed_status()) if high < h: high = h if low > l: