Fix #407 possible negative ETA

This commit is contained in:
Andrew Resch 2008-08-18 00:36:19 +00:00
parent 46fe490ba0
commit 1b03c0eff4
1 changed files with 1 additions and 1 deletions

View File

@ -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: