mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-22 11:18:08 -06:00
It saves config for the logged sessions in the exit function
This commit is contained in:
parent
2cc865b62c
commit
e1b3a94b13
@ -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,))
|
||||
|
Loading…
Reference in New Issue
Block a user