Bugfix json creation

master
Purple-Tentacle 2020-04-16 10:32:41 +02:00 committed by GitHub
parent 9704522813
commit 8c6b78ebe1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ function resetSettings() {
} }
settingsChronowid = storage.readJSON('chronowid.json',1); settingsChronowid = storage.readJSON('chronowid.json',1);
if (!settingsChronowid.started) resetSettings(); if (!settingsChronowid) resetSettings();
E.on('kill', () => { E.on('kill', () => {
print("-KILL-"); print("-KILL-");
@ -88,4 +88,4 @@ function showMenu() {
return E.showMenu(timerMenu); return E.showMenu(timerMenu);
} }
showMenu(); showMenu();