midi: fix script path
This commit is contained in:
parent
e86790c658
commit
7ae023663e
1 changed files with 1 additions and 2 deletions
|
|
@ -2,8 +2,7 @@ var PythonShell = require('python-shell'),
|
|||
path = require('path'),
|
||||
settings = require('./settings')
|
||||
|
||||
|
||||
var py = new PythonShell(path.resolve('/main/midi.py'),{mode:'text', args: [
|
||||
var py = new PythonShell('midi.py', {scriptPath:__dirname, mode:'text', args: [
|
||||
settings.read('debug') ? 'debug' : '',
|
||||
...settings.read('midi')
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue