From 3dc8ba3d6f7a0910bb132e4973d01a360fec2a3e Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Thu, 27 Nov 2008 05:12:27 +0000 Subject: [PATCH] Fix loading labels --- deluge/plugins/label/label/core.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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()