mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-16 05:17:31 +00:00
.
This commit is contained in:
parent
60f2fb44ba
commit
a217199897
@ -433,7 +433,7 @@ class Manager:
|
|||||||
elif (not self.get_core_torrent_state(unique_ID, efficient)['is_paused']) and \
|
elif (not self.get_core_torrent_state(unique_ID, efficient)['is_paused']) and \
|
||||||
( (index >= self.get_pref('max_active_torrents') and \
|
( (index >= self.get_pref('max_active_torrents') and \
|
||||||
self.get_pref('max_active_torrents') != -1 ) or \
|
self.get_pref('max_active_torrents') != -1 ) or \
|
||||||
self.is_user_paused(unique_ID)):
|
self.is_user_paused(unique_ID)):
|
||||||
deluge_core.pause(unique_ID)
|
deluge_core.pause(unique_ID)
|
||||||
|
|
||||||
# Event handling
|
# Event handling
|
||||||
|
Loading…
x
Reference in New Issue
Block a user