summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcos Pinto <markybob@dipconsultants.com>2007-11-19 02:10:57 +0000
committerMarcos Pinto <markybob@dipconsultants.com>2007-11-19 02:10:57 +0000
commit15983c8901dc2977ca76f8f5f375d32ae67a8b63 (patch)
treeac20f2cfc7f61406a1c7c8e338f2452a1ef72e4f
parent7bdf7e9d1e4b67aae7f1668c094805cdd80c64b5 (diff)
downloaddeluge-15983c8901dc2977ca76f8f5f375d32ae67a8b63.tar.gz
deluge-15983c8901dc2977ca76f8f5f375d32ae67a8b63.tar.bz2
deluge-15983c8901dc2977ca76f8f5f375d32ae67a8b63.zip
fix typo
-rw-r--r--src/core.py4
1 files 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()