Change to use 'all_time_upload' and 'all_time_download' due to change
in recent libtorrent revision
This commit is contained in:
parent
fd4e548938
commit
56c496dc5d
|
@ -529,12 +529,12 @@ class Torrent:
|
||||||
full_status = {
|
full_status = {
|
||||||
"distributed_copies": distributed_copies,
|
"distributed_copies": distributed_copies,
|
||||||
"total_done": self.status.total_done,
|
"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,
|
"state": self.state,
|
||||||
"paused": self.status.paused,
|
"paused": self.status.paused,
|
||||||
"progress": progress,
|
"progress": progress,
|
||||||
"next_announce": self.status.next_announce.seconds,
|
"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,
|
"total_payload_upload": self.status.total_payload_upload,
|
||||||
"download_payload_rate": self.status.download_payload_rate,
|
"download_payload_rate": self.status.download_payload_rate,
|
||||||
"upload_payload_rate": self.status.upload_payload_rate,
|
"upload_payload_rate": self.status.upload_payload_rate,
|
||||||
|
|
Loading…
Reference in New Issue