forked from premiere/premiere-deluge-plugin
fix removal of missing torrents
This commit is contained in:
parent
ba767e0cf7
commit
38f1c82fb5
|
@ -51,7 +51,7 @@ class Core(CorePluginBase):
|
|||
|
||||
def premiere_loop(self):
|
||||
torrents = self.get_premiere_torrents()
|
||||
for t in torrents:
|
||||
for t in torrents.keys():
|
||||
tor = component.get("TorrentManager").torrents.get(t)
|
||||
if not tor:
|
||||
self.del_premiere_torrent(t)
|
||||
|
|
Loading…
Reference in New Issue