mirror of https://github.com/espruino/BangleApps
parent
ff5c235fc4
commit
de3fbe6578
|
@ -7,7 +7,7 @@ let location;
|
|||
// requires the myLocation app
|
||||
function loadLocation () {
|
||||
try {
|
||||
return require('Storage').readJSON(LOCATION_FILE, 1) || {};
|
||||
return require('Storage').readJSON(LOCATION_FILE, 1);
|
||||
} catch (e) {
|
||||
return { };
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue