diff --git a/deluge/plugins/label/label/core.py b/deluge/plugins/label/label/core.py index 18224ed64..6f720104a 100644 --- a/deluge/plugins/label/label/core.py +++ b/deluge/plugins/label/label/core.py @@ -157,11 +157,10 @@ class Core(CorePluginBase): options.update(self.labels[key]) self.labels[key] = options - for key, value in self.labels[key].iteritems(): + for key, value in self.labels.iteritems(): if value == None: self.labels[key] = OPTIONS_DEFAULTS[key] - def save_config(self): self.clean_config() self.config.save()