From 15983c8901dc2977ca76f8f5f375d32ae67a8b63 Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Mon, 19 Nov 2007 02:10:57 +0000 Subject: [PATCH] fix typo --- src/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core.py b/src/core.py index d49b5582a..b9a12ae42 100644 --- a/src/core.py +++ b/src/core.py @@ -741,14 +741,14 @@ of HD space! Oops!\nWe had to pause at least one torrent")) self.apply_prefs_per_torrent(unique_ID) def pause_all(self): - if self.config.set('max_active_torrents') != 0: + if self.config.get('max_active_torrents') != 0: self.config.set('max_active_torrents_tmp', \ self.config.get('max_active_torrents')) self.config.set('max_active_torrents', 0) self.apply_prefs() def resume_all(self): - if self.config.set('max_active_torrents') == 0: + if self.config.get('max_active_torrents') == 0: self.config.set('max_active_torrents', \ self.config.get('max_active_torrents_tmp')) self.apply_prefs()