mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-03 23:18:40 +00:00
Fix #407 possible negative ETA
This commit is contained in:
parent
46fe490ba0
commit
1b03c0eff4
1 changed files with 1 additions and 1 deletions
|
@ -298,7 +298,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