From 5e829ca16098619ba2c57b2f8c55ae13dec9efcd Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Mon, 14 Sep 2009 08:18:29 +0000 Subject: [PATCH] tidy up the config dictionary and add default_daemon option --- deluge/ui/web/server.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/deluge/ui/web/server.py b/deluge/ui/web/server.py index e915a3664..5ae2a2b53 100644 --- a/deluge/ui/web/server.py +++ b/deluge/ui/web/server.py @@ -79,17 +79,25 @@ _ = gettext.gettext current_dir = os.path.dirname(__file__) CONFIG_DEFAULTS = { - "port": 8112, + # Misc Settings "enabled_plugins": [], - "theme": "slate", + "default_daemon": "", + + # Auth Settings "pwd_salt": "c26ab3bbd8b137f99cd83c2c1c0963bcc1a35cad", "pwd_sha1": "2ce1a410bcdcc53064129b6d950f2e9fee4edc1e", "session_timeout": 3600, "sessions": {}, + + # UI Settings "sidebar_show_zero": False, "sidebar_show_trackers": False, "show_session_speed": False, "show_sidebar": True, + "theme": "slate", + + # Server Settings + "port": 8112, "https": False, "pkey": "ssl/daemon.pkey", "cert": "ssl/daemon.cert"