Revert "Fix strange resume_data bug causing fastresume not save on shutdown"

This reverts commit 2449f5b99e2f2eb3c5b982c0e02705e94daf5166.
This commit is contained in:
Calum Lind 2014-08-13 21:32:46 +01:00
parent 8c6758720d
commit 97533145a7

View File

@ -730,7 +730,7 @@ class TorrentManager(component.Component):
be invoked when save is complete. be invoked when save is complete.
""" """
if torrent_ids is None: if torrent_ids is None:
torrent_ids = (t[0] for t in self.torrents.iteritems() if t[1].status.need_save_resume) torrent_ids = (t[0] for t in self.torrents.iteritems() if t[1].handle.need_save_resume_data())
def on_torrent_resume_save(dummy_result, torrent_id): def on_torrent_resume_save(dummy_result, torrent_id):
"""Recieved torrent resume_data alert so remove from waiting list""" """Recieved torrent resume_data alert so remove from waiting list"""