From c6c861885ee218d3d26a4d55fc41a42c1d583cbc Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Sat, 28 Feb 2009 21:01:28 +0000 Subject: [PATCH] Do not attempt to pause/remove a checking torrent due to stop at share ratio rules --- deluge/core/torrentmanager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/core/torrentmanager.py b/deluge/core/torrentmanager.py index d659de62d..d118955d3 100644 --- a/deluge/core/torrentmanager.py +++ b/deluge/core/torrentmanager.py @@ -212,7 +212,7 @@ class TorrentManager(component.Component): def update(self): for torrent_id, torrent in self.torrents.items(): - if self.config["stop_seed_at_ratio"] or torrent.options["stop_at_ratio"]: + if self.config["stop_seed_at_ratio"] or torrent.options["stop_at_ratio"] and torrent.state not in ("Checking", "Allocating"): stop_ratio = self.config["stop_seed_ratio"] if torrent.options["stop_at_ratio"]: stop_ratio = torrent.options["stop_ratio"]