session: fix importing non local file

This commit is contained in:
jean-emmanuel 2019-01-07 09:57:17 +01:00
parent ee0acf795f
commit e525960b88
2 changed files with 7 additions and 2 deletions

View file

@ -1,5 +1,10 @@
# Changelog
## 0.41.1
- bug fixes
- error when loading a session file not located on the server
## 0.41.0
- main
@ -14,7 +19,7 @@
- `matrices`: **new** `patchbay` widget
- bug fixes
- layout break when hitting tab with sidepanel closed and editor enabled
- crash when running the server in an environnement without user home folder
- crash when running the server in an environnement without user home folder
## 0.40.5

View file

@ -116,7 +116,7 @@ module.exports = {
sessionSetPath: function(data, clientId) {
if (settings.read('remoteSaving') && !settings.read('remoteSaving').test(ipc.clients[clientId].address)) {
if (!data.path || settings.read('remoteSaving') && !settings.read('remoteSaving').test(ipc.clients[clientId].address)) {
return
}