Browse Source

Fix Cadence session start on some cases

tags/v0.9.0
falkTX 12 years ago
parent
commit
28ab4fe200
1 changed files with 7 additions and 4 deletions
  1. +7
    -4
      src/cadence_session_start.py

+ 7
- 4
src/cadence_session_start.py View File

@@ -76,10 +76,13 @@ def startSession(systemStarted):

for thisStudioName, thisStudioDict in ladishStudioListDump:
if ladishStudioName == thisStudioName:
if ladish_conf and ladish_conf.get('/org/ladish/daemon/notify')[0] == "true":
ladish_conf.set('/org/ladish/daemon/notify', "false")
ladishNotifyHack = True
else:
try:
if ladish_conf and ladish_conf.get('/org/ladish/daemon/notify')[0] == "true":
ladish_conf.set('/org/ladish/daemon/notify', "false")
ladishNotifyHack = True
else:
ladishNotifyHack = False
except:
ladishNotifyHack = False

ladish_control.LoadStudio(thisStudioName)


Loading…
Cancel
Save