remove or operation at the end. Deal with file-not-found properly

master
Weiming Hu 2021-09-13 11:11:57 -04:00
parent 2840927388
commit fc9c529dc5
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
(function() { (function() {
function setup () { function setup () {
var settings = require('Storage').readJSON('hourstrike.json',1)||[]; var settings = require('Storage').readJSON('hourstrike.json',1);
if (!settings) resetSettings(); if (!settings) resetSettings();
var t = new Date(); var t = new Date();
var t_min_sec = t.getMinutes()*60+t.getSeconds(); var t_min_sec = t.getMinutes()*60+t.getSeconds();