From e1b3a94b137bead0a204ef6830e67758c3c92d91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Cort=C3=A9z?= Date: Mon, 9 Mar 2015 13:53:47 -0600 Subject: [PATCH] It saves config for the logged sessions in the exit function --- src/controller/mainController.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,))