Fix #407 possible negative ETA
This commit is contained in:
parent
ed5e080b6d
commit
dac94c5038
@ -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 UPnP
|
||||
* Fix to prevent Deluge from segfaulting when trying to autoadd an incomplete torrent file
|
||||
* Fix #407 possible negative ETA
|
||||
|
||||
GtkUI:
|
||||
* Add 'edit' to edit trackers dialog
|
||||
|
||||
@ -279,7 +279,7 @@ class Torrent:
|
||||
|
||||
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
|
||||
|
||||
try:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user