owmweather - Do not wrap in function

master
Martin Boonk 2022-10-30 15:30:10 +01:00
parent 6b03375a97
commit 6b5176c086
1 changed files with 3 additions and 3 deletions

View File

@ -1,10 +1,10 @@
(function() {
{
let waiting = false;
let settings = require("Storage").readJSON("owmweather.json", 1) || {
enabled: false
};
function completion(){
let completion = function(){
waiting = false;
}
@ -25,4 +25,4 @@
}
}, settings.refresh * 1000 * 60);
}
})();
}