mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-28 20:25:10 +00:00
Fix last
This commit is contained in:
parent
3dc8ba3d6f
commit
ccbf75d5b9
@ -157,9 +157,10 @@ class Core(CorePluginBase):
|
||||
options.update(self.labels[key])
|
||||
self.labels[key] = options
|
||||
|
||||
for key, value in self.labels.iteritems():
|
||||
if value == None:
|
||||
self.labels[key] = OPTIONS_DEFAULTS[key]
|
||||
for label, options in self.labels.items():
|
||||
for key, value in options.items():
|
||||
if value == None:
|
||||
self.labels[label][key] = OPTIONS_DEFAULTS[key]
|
||||
|
||||
def save_config(self):
|
||||
self.clean_config()
|
||||
|
Loading…
x
Reference in New Issue
Block a user