diff --git a/apps/owmweather/lib.js b/apps/owmweather/lib.js index 6ba52b498..67cdc115b 100644 --- a/apps/owmweather/lib.js +++ b/apps/owmweather/lib.js @@ -25,7 +25,7 @@ function parseWeather(response) { json.weather = weather; require("Storage").writeJSON('weather.json', json); - require("weather").emit("update", json.weather); + if (require("Storage").read("weather")!==undefined) require("weather").emit("update", json.weather); return undefined; } else { return /*LANG*/"Not OWM data";