Skip to content
This repository has been archived by the owner on Jan 3, 2021. It is now read-only.

Commit

Permalink
Merge 118b977 into b0e2fd0
Browse files Browse the repository at this point in the history
  • Loading branch information
ellisvalentiner committed Mar 25, 2018
2 parents b0e2fd0 + 118b977 commit e32de17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DarkSky.jl
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ function forecast(latitude::Float64, longitude::Float64, time::DateTime; verbose
exclude::Optional{Array{String}}=nothing, lang::String="en", units::String="us")
@argcheck in(lang, SUPPORTED_LANGS)
@argcheck in(units, SUPPORTED_UNITS)
url = "https://api.darksky.net/forecast/$(ENV["DARKSKY_API_KEY"])/$latitude,$longitude?lang=$lang&units=$units"
url = "https://api.darksky.net/forecast/$(ENV["DARKSKY_API_KEY"])/$latitude,$longitude,$time?lang=$lang&units=$units"
if !(exclude === nothing)
url = "$url&exclude=$(join(exclude, ","))"
end
Expand Down

0 comments on commit e32de17

Please sign in to comment.