diff --git a/deluge/core/torrent.py b/deluge/core/torrent.py index 323c094b9..a559a4d2f 100644 --- a/deluge/core/torrent.py +++ b/deluge/core/torrent.py @@ -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: