From 41d955a5ea6e6db5c66f26ebd693bf65ea10ae2e Mon Sep 17 00:00:00 2001 From: Martijn Voncken Date: Sat, 4 Oct 2008 09:59:41 +0000 Subject: [PATCH] fix logout --- deluge/ui/webui/utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deluge/ui/webui/utils.py b/deluge/ui/webui/utils.py index 0459cfbeb..e042423d8 100644 --- a/deluge/ui/webui/utils.py +++ b/deluge/ui/webui/utils.py @@ -80,7 +80,8 @@ def end_session(): session_id = getcookie("session_id") setcookie("session_id","") if session_id in config.get("sessions"): - config.set("sessions", config.get("sessions").append(session_id)) + config["sessions"].remove(session_id) + config.set("sessions", config["sessions"]) #/sessions def seeother(url, *args, **kwargs):