|
@ -60,7 +60,7 @@ if (args["insert"] == 'yes'){ |
|
|
}, |
|
|
}, |
|
|
}); |
|
|
}); |
|
|
var datajsontmp = stdout.toString() |
|
|
var datajsontmp = stdout.toString() |
|
|
var datajson = mysearch(devname, datajsontmp); |
|
|
var datajson = mysearch(devname, Object.values(datajsontmp)); |
|
|
console.error('exec ' + JSON.stringify(datajson)); |
|
|
console.error('exec ' + JSON.stringify(datajson)); |
|
|
} catch (error) { |
|
|
} catch (error) { |
|
|
var datajson = error.toString() |
|
|
var datajson = error.toString() |
|
|