midi: pythonPath for launcher's contextual midi list action
This commit is contained in:
parent
8bbf9d5fd4
commit
5256fa1176
2 changed files with 8 additions and 1 deletions
|
|
@ -74,7 +74,9 @@ class MidiConverter {
|
|||
|
||||
static list() {
|
||||
|
||||
PythonShell.run('python/list.py', pythonOptions, function(err, results) {
|
||||
var pythonPath = settings.read('midi').filter(x=>x.includes('path=')).map(x=>x.split('=')[1])[0]
|
||||
|
||||
PythonShell.run('python/list.py', Object.assign({pythonPath}, pythonOptions), function(err, results) {
|
||||
if (err) console.error(err)
|
||||
MidiConverter.parseIpc(results)
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue