Commit 5256fa11 authored by jean-emmanuel's avatar jean-emmanuel

midi: pythonPath for launcher's contextual midi list action

parent 8bbf9d5f
# Changelog
## 0.47.2
- bug fixes
- midi: `path` option not applied to launcher's `list` contextual action
## 0.47.1
- bug fixes
......
......@@ -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)
})
......
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