Skip to content

Commit a4bfc3c

Browse files
committed
set parser
1 parent 324f83b commit a4bfc3c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ var PythonShell = function (script, options) {
4242
this.script = path.join(options.scriptPath || './python', script);
4343
this.command = pythonOptions.concat(this.script, scriptArgs);
4444
this.mode = options.mode || 'text';
45+
this.parser = options.parser;
4546
this.terminated = false;
4647
this.childProcess = spawn(pythonPath, this.command, options);
4748

0 commit comments

Comments
 (0)