Skip to content

Commit

Permalink
Fixed bug in low temp windows
Browse files Browse the repository at this point in the history
  • Loading branch information
onewheelskyward committed Sep 11, 2018
1 parent d831bc9 commit 7d17d6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/lita/handlers/forecasts.rb
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ def do_the_windows_thing(forecast, aqi)

# Return some meta here and let the caller decide the text.
if time_to_close_the_windows.nil?
"Leave 'em open, no excess heat today(#{get_temperature high_temp})."
output = "Leave 'em open, no excess heat today(#{get_temperature high_temp})."
else
# Todo: base timezone on requested location.
timezone = TZInfo::Timezone.get('America/Los_Angeles')
Expand Down

0 comments on commit 7d17d6e

Please sign in to comment.