Fix corrupted settings checker

This commit is contained in:
smartfrigde 2022-04-21 15:23:06 +02:00
parent 495a813af1
commit 1666b8a098
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ export async function sleep(ms: number) {
} }
export async function checkIfConfigIsBroken() { export async function checkIfConfigIsBroken() {
if ((await getConfig("0")) == "d") { if (await getConfig("0") == "d") {
console.log("Detected a corrupted config"); console.log("Detected a corrupted config");
setup(); setup();
dialog.showErrorBox( dialog.showErrorBox(