summaryrefslogtreecommitdiffstats
path: root/src/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/core.py')
-rw-r--r--src/core.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/core.py b/src/core.py
index 299d5250f..727e2a828 100644
--- a/src/core.py
+++ b/src/core.py
@@ -734,15 +734,14 @@ of HD space! Oops!\nWe had to pause at least one torrent"))
self.apply_prefs_per_torrent(unique_ID)
def pause_all(self):
- for unique_ID in self.unique_IDs:
- self.config.set('max_active_torrents_tmp', \
- self.config.get('max_active_torrents'))
- self.config.set('max_active_torrents', 0)
- self.apply_prefs()
+ 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):
self.config.set('max_active_torrents', \
- self.config.get('max_active_torrents_tmp')
+ self.config.get('max_active_torrents_tmp'))
self.apply_prefs()
def move_storage(self, unique_ID, directory):