mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-05 07:58:38 +00:00
tidy up the config dictionary and add default_daemon option
This commit is contained in:
parent
0bc97733bf
commit
5e829ca160
1 changed files with 10 additions and 2 deletions
|
@ -79,17 +79,25 @@ _ = gettext.gettext
|
||||||
current_dir = os.path.dirname(__file__)
|
current_dir = os.path.dirname(__file__)
|
||||||
|
|
||||||
CONFIG_DEFAULTS = {
|
CONFIG_DEFAULTS = {
|
||||||
"port": 8112,
|
# Misc Settings
|
||||||
"enabled_plugins": [],
|
"enabled_plugins": [],
|
||||||
"theme": "slate",
|
"default_daemon": "",
|
||||||
|
|
||||||
|
# Auth Settings
|
||||||
"pwd_salt": "c26ab3bbd8b137f99cd83c2c1c0963bcc1a35cad",
|
"pwd_salt": "c26ab3bbd8b137f99cd83c2c1c0963bcc1a35cad",
|
||||||
"pwd_sha1": "2ce1a410bcdcc53064129b6d950f2e9fee4edc1e",
|
"pwd_sha1": "2ce1a410bcdcc53064129b6d950f2e9fee4edc1e",
|
||||||
"session_timeout": 3600,
|
"session_timeout": 3600,
|
||||||
"sessions": {},
|
"sessions": {},
|
||||||
|
|
||||||
|
# UI Settings
|
||||||
"sidebar_show_zero": False,
|
"sidebar_show_zero": False,
|
||||||
"sidebar_show_trackers": False,
|
"sidebar_show_trackers": False,
|
||||||
"show_session_speed": False,
|
"show_session_speed": False,
|
||||||
"show_sidebar": True,
|
"show_sidebar": True,
|
||||||
|
"theme": "slate",
|
||||||
|
|
||||||
|
# Server Settings
|
||||||
|
"port": 8112,
|
||||||
"https": False,
|
"https": False,
|
||||||
"pkey": "ssl/daemon.pkey",
|
"pkey": "ssl/daemon.pkey",
|
||||||
"cert": "ssl/daemon.cert"
|
"cert": "ssl/daemon.cert"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue