mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-29 20:56:31 +00:00
fix oops in last
This commit is contained in:
parent
43ad15b3b2
commit
423cce7c56
11
src/core.py
11
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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user