mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-04 15:38:43 +00:00
Fix loading labels
This commit is contained in:
parent
0954c3f112
commit
3dc8ba3d6f
1 changed files with 1 additions and 2 deletions
|
@ -157,11 +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[key].iteritems():
|
for key, value in self.labels.iteritems():
|
||||||
if value == None:
|
if value == None:
|
||||||
self.labels[key] = OPTIONS_DEFAULTS[key]
|
self.labels[key] = OPTIONS_DEFAULTS[key]
|
||||||
|
|
||||||
|
|
||||||
def save_config(self):
|
def save_config(self):
|
||||||
self.clean_config()
|
self.clean_config()
|
||||||
self.config.save()
|
self.config.save()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue