diff --git a/src/controller/mainController.py b/src/controller/mainController.py index 61e6ea55..eb30b120 100644 --- a/src/controller/mainController.py +++ b/src/controller/mainController.py @@ -442,7 +442,7 @@ class Controller(object): log.debug("Saving global configuration...") config.app.write() for item in session_.sessions: - if session_.sessions[item]: continue + if session_.sessions[item].logged == False: continue log.debug("Saving config for %s session" % (session_.sessions[item].session_id,)) session_.sessions[item].settings.write() log.debug("Disconnecting streams for %s session" % (session_.sessions[item].session_id,))