mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-04 07:28:39 +00:00
Fix #407 possible negative ETA
This commit is contained in:
parent
ed5e080b6d
commit
dac94c5038
2 changed files with 2 additions and 1 deletions
|
@ -3,6 +3,7 @@ Deluge 0.9.07 - "1.0.0_RC7" (18 August 2008)
|
||||||
* Fix loading torrents from state when fastresume file is missing
|
* Fix loading torrents from state when fastresume file is missing
|
||||||
* Fix UPnP
|
* Fix UPnP
|
||||||
* Fix to prevent Deluge from segfaulting when trying to autoadd an incomplete torrent file
|
* Fix to prevent Deluge from segfaulting when trying to autoadd an incomplete torrent file
|
||||||
|
* Fix #407 possible negative ETA
|
||||||
|
|
||||||
GtkUI:
|
GtkUI:
|
||||||
* Add 'edit' to edit trackers dialog
|
* Add 'edit' to edit trackers dialog
|
||||||
|
|
|
@ -279,7 +279,7 @@ class Torrent:
|
||||||
|
|
||||||
left = status.total_wanted - status.total_done
|
left = status.total_wanted - status.total_done
|
||||||
|
|
||||||
if left == 0 or status.download_payload_rate == 0:
|
if left <= 0 or status.download_payload_rate == 0:
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue