From 60a78c52e2e7a2362f67472f92589db0cd7840d1 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 745008fea..44aedca0e 100644 --- a/deluge/core/torrentmanager.py +++ b/deluge/core/torrentmanager.py @@ -213,7 +213,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"]