mirror of
https://github.com/marty-oehme/scripts.git
synced 2025-12-10 05:52:46 +00:00
removed a log message
This commit is contained in:
parent
de6dcdb75e
commit
9a3be00a4f
2 changed files with 1 additions and 2 deletions
|
|
@ -37,7 +37,6 @@ Script {
|
|||
}
|
||||
|
||||
function weatherStats() {
|
||||
script.log(useFahrenheit);
|
||||
var unitString = useFahrenheit ? "f" : "c"
|
||||
var json = script.downloadUrlToString("https://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20weather.forecast%20where%20woeid%20in%20(select%20woeid%20from%20geo.places(1)%20where%20text%3D%22" + city + "%22)%20and%20u%3D%27" + unitString + "%27&format=json&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys");
|
||||
var weatherInfo = JSON.parse(json);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue