diff --git a/deluge/plugins/label/label/core.py b/deluge/plugins/label/label/core.py index 25edd54fb..752bf0a0f 100644 --- a/deluge/plugins/label/label/core.py +++ b/deluge/plugins/label/label/core.py @@ -53,7 +53,6 @@ LABEL = "label" CONFIG_DEFAULTS = { "torrent_labels":{}, #torrent_id:label_id "labels":{}, #label_id:{name:value} - "auto_add_trackers":[] } CORE_OPTIONS = ["auto_add_trackers"] @@ -73,7 +72,8 @@ OPTIONS_DEFAULTS = { "apply_move_completed":False, "move_completed":False, "move_completed_path":"", - "auto_add":False + "auto_add":False, + "auto_add_trackers":[] } NO_LABEL = "No Label" diff --git a/deluge/plugins/label/label/webui.py b/deluge/plugins/label/label/webui.py index 978a98e65..721018c85 100644 --- a/deluge/plugins/label/label/webui.py +++ b/deluge/plugins/label/label/webui.py @@ -49,8 +49,8 @@ class options: @api.deco.deluge_page def GET(self, label_id): - options_form = OptionsForm() - + options = sclient.label_get_options(label_id) + options_form = OptionsForm(options) return api.render.label.options(label_id, options_form) class add: