mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-05 07:58:38 +00:00
Fix last
This commit is contained in:
parent
3dc8ba3d6f
commit
ccbf75d5b9
1 changed files with 4 additions and 3 deletions
|
@ -157,9 +157,10 @@ class Core(CorePluginBase):
|
||||||
options.update(self.labels[key])
|
options.update(self.labels[key])
|
||||||
self.labels[key] = options
|
self.labels[key] = options
|
||||||
|
|
||||||
for key, value in self.labels.iteritems():
|
for label, options in self.labels.items():
|
||||||
if value == None:
|
for key, value in options.items():
|
||||||
self.labels[key] = OPTIONS_DEFAULTS[key]
|
if value == None:
|
||||||
|
self.labels[label][key] = OPTIONS_DEFAULTS[key]
|
||||||
|
|
||||||
def save_config(self):
|
def save_config(self):
|
||||||
self.clean_config()
|
self.clean_config()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue