diff --git a/CHANGELOG.md b/CHANGELOG.md index 5dc5eeb4..e86c637a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 0.48.1 + +- bug fixes + - midi: listing devices from context menu not working when the midi options is empty + ## 0.48.0 - bug fixes @@ -7,7 +12,7 @@ - editor: incorrect position when moving a widget from an edge with the keyboard - modal: prevent touchend event from reaching the inner widgets when opening the container - matrix: clone matrices not properly storing their children's values - - multipad/range: errors when dragging over when the gesture was initiated on a traversing widget (ie matrix) + - multipad/range: errors when dragging over when the gesture was initiated on a traversing widget (ie matrix) - widgets - **new** html widget diff --git a/src/server/midi.js b/src/server/midi.js index c0f63163..147416d7 100644 --- a/src/server/midi.js +++ b/src/server/midi.js @@ -74,7 +74,7 @@ class MidiConverter { static list() { - var pythonPath = settings.read('midi').filter(x=>x.includes('path=')).map(x=>x.split('=')[1])[0] + var pythonPath = settings.read('midi') ? settings.read('midi').filter(x=>x.includes('path=')).map(x=>x.split('=')[1])[0] : undefined PythonShell.run('python/list.py', Object.assign({pythonPath}, pythonOptions), function(err, results) { if (err) console.error(err)