fix removal of missing torrents

This commit is contained in:
fake 2020-05-18 13:23:11 -07:00
parent ba767e0cf7
commit 38f1c82fb5
1 changed files with 1 additions and 1 deletions

View File

@ -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)