diff --git a/src/core.py b/src/core.py index 9cf911704..1d3f51530 100644 --- a/src/core.py +++ b/src/core.py @@ -690,9 +690,7 @@ class Manager: # Add torrents to core and unique_IDs torrents_with_unique_ID = self.unique_IDs.values() - # loop through a temp list, so we can remove torrents without - # messing up iteration - for torrent in list(self.state.torrents): + for torrent in self.state.torrents: if not os.path.exists(torrent.filename): print "Missing file: %s" % torrent.filename self.state.torrents.remove(torrent)