Change to use 'all_time_upload' and 'all_time_download' due to change

in recent libtorrent revision
This commit is contained in:
Andrew Resch 2008-10-15 18:49:51 +00:00
parent fd4e548938
commit 56c496dc5d
1 changed files with 2 additions and 2 deletions

View File

@ -529,12 +529,12 @@ class Torrent:
full_status = {
"distributed_copies": distributed_copies,
"total_done": self.status.total_done,
"total_uploaded": self.total_uploaded + self.status.total_payload_upload,
"total_uploaded": self.status.all_time_upload,
"state": self.state,
"paused": self.status.paused,
"progress": progress,
"next_announce": self.status.next_announce.seconds,
"total_payload_download": self.status.total_payload_download,
"total_payload_download": self.status.all_time_download,
"total_payload_upload": self.status.total_payload_upload,
"download_payload_rate": self.status.download_payload_rate,
"upload_payload_rate": self.status.upload_payload_rate,