fix oops in last

This commit is contained in:
Marcos Pinto 2007-11-18 23:29:47 +00:00
commit 423cce7c56

View file

@ -734,7 +734,6 @@ 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)
@ -742,7 +741,7 @@ of HD space! Oops!\nWe had to pause at least one torrent"))
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):