diff --git a/deluge/plugins/label/label/core.py b/deluge/plugins/label/label/core.py index 0971db766..1bd52b8c5 100644 --- a/deluge/plugins/label/label/core.py +++ b/deluge/plugins/label/label/core.py @@ -269,7 +269,7 @@ class Core(CorePluginBase): #apply for torrent_id,label in self.torrent_labels.iteritems(): - if label_id == label: + if label_id == label and torrent_id in self.torrents: self._set_torrent_options(torrent_id , label_id) #auto add