From c410f6d2420c8201314e2829615eb9d79b61c163 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Sat, 30 Aug 2008 23:40:57 +0000 Subject: [PATCH] Fix some typos --- deluge/core/torrent.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deluge/core/torrent.py b/deluge/core/torrent.py index ae3dce262..5990d5813 100644 --- a/deluge/core/torrent.py +++ b/deluge/core/torrent.py @@ -566,9 +566,9 @@ class Torrent: if self.handle.is_finished(): # If the torrent has already reached it's 'stop_seed_ratio' then do not do anything - if self.config["stop_seed_at_ratio"] or self.stop_at_ratio: - if self.stop_at_ratio: - ratio = self.stop_ratio + if self.config["stop_seed_at_ratio"] or self.options["stop_at_ratio"]: + if self.options["stop_at_ratio"]: + ratio = self.options["stop_ratio"] else: ratio = self.config["stop_seed_ratio"]