mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-04 23:53:23 +00:00
Revert "Fix strange resume_data bug causing fastresume not save on shutdown"
This reverts commit 2449f5b99e2f2eb3c5b982c0e02705e94daf5166.
This commit is contained in:
parent
8c6758720d
commit
97533145a7
@ -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"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user