diff --git a/lib/main.js b/lib/main.js index d3f32e5..f73da5b 100644 --- a/lib/main.js +++ b/lib/main.js @@ -27,9 +27,9 @@ let jsondump = function(thing){ console.log(JSON.stringify(thing,null,2)); } -// storeage of study specific data +// storage of study specific data let {storage} = require("simple-storage"); -storage.hasemail = false; +if (! storage.hasemail) { storage.hasemail = false; } // prefs to 'show all recording events' prefs["micropilotlog"] = true;