diff --git a/swarmlab-app/src/run/app.js b/swarmlab-app/src/run/app.js index 62ab1cf..3b19b39 100755 --- a/swarmlab-app/src/run/app.js +++ b/swarmlab-app/src/run/app.js @@ -462,7 +462,7 @@ function onCollection(err, collection) { var resob = {} await pubClient.get(pathfileval, function(err, object) { console.log('----------------' + err + '<<<<<<<<<<<<<<<<<<<<<<' + object); - if(err == null){ + if(object){ indexupdate = "no" }else{ console.log('redis '+JSON.stringify(object));