mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-21 20:14:51 +00:00
Let save_resume_data build torrent list on stopping session
By having the func build the list we can skip torrents that we already have resume data for (need_save_resume_data is False).
This commit is contained in:
parent
ea7ef950a3
commit
f2535e196d
1 changed files with 1 additions and 1 deletions
|
@ -268,7 +268,7 @@ class TorrentManager(component.Component):
|
|||
if result and os.path.isfile(self.temp_file):
|
||||
os.remove(self.temp_file)
|
||||
|
||||
d = self.save_resume_data(self.torrents.keys())
|
||||
d = self.save_resume_data()
|
||||
d.addCallback(remove_temp_file)
|
||||
return d
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue