Commit 05ab70c8 authored by plaasio's avatar plaasio 👷🏽

Update pnv.js

parent 56f47f88
......@@ -45,8 +45,8 @@ let options = {
args: args
};
PythonShell.run(src, options, async function (err, results) {
if (err) throw err;
PythonShell.run(src, options, function (err, results) {
if (err) reject(err);
// results is an array consisting of messages collected during execution
//console.log('results: %j', results);
resolve(results) ;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment