mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-13 04:54:23 +00:00
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…
x
Reference in New Issue
Block a user