From 409fffd5fa5587e80d135bc66f01a3a3465208f8 Mon Sep 17 00:00:00 2001 From: falkTX Date: Sun, 23 Sep 2018 00:30:33 +0200 Subject: [PATCH] Use basename on jack apps when initial name is empty --- source/frontend/carla_database.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/frontend/carla_database.py b/source/frontend/carla_database.py index ab7bbac21..fc7ae6a47 100755 --- a/source/frontend/carla_database.py +++ b/source/frontend/carla_database.py @@ -1757,8 +1757,9 @@ class JackApplicationW(QDialog): command = self.ui.le_command.text() smgr = self.SESSION_MGR_NONE flags = 0x0 + if not name: - name = command.split(" ",1)[0] + name = os.path.basename(command.split(" ",1)[0]) # TODO finalize flag definitions #uiSessionMgrIndex = self.ui.cb_session_mgr.currentIndex()