mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-23 04:54:51 +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
|
||||
|
||||
if left == 0 or status.download_payload_rate == 0:
|
||||
if left <= 0 or status.download_payload_rate == 0:
|
||||
return 0
|
||||
|
||||
try:
|
||||
|
|
Loading…
Add table
Reference in a new issue