mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-21 20:14:51 +00:00
Save the uploaded_total in torrent state.
This commit is contained in:
parent
64a94ec197
commit
5b7b027f48
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ class Torrent:
|
|||
"""Returns the state of this torrent for saving to the session state"""
|
||||
status = self.handle.status()
|
||||
return (self.torrent_id, self.filename, self.compact, status.paused,
|
||||
self.save_path, self.total_uploaded)
|
||||
self.save_path, self.total_uploaded + status.total_payload_upload)
|
||||
|
||||
def get_eta(self):
|
||||
"""Returns the ETA in seconds for this torrent"""
|
||||
|
|
Loading…
Add table
Reference in a new issue