Fix #407 possible negative ETA
This commit is contained in:
parent
46fe490ba0
commit
1b03c0eff4
|
@ -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…
Reference in New Issue