This commit is contained in:
Marcos Pinto 2007-11-18 23:46:33 +00:00
parent 9b88b8d61f
commit 1c369bce31
1 changed files with 1 additions and 1 deletions

View File

@ -704,7 +704,7 @@ of HD space! Oops!\nWe had to pause at least one torrent"))
# Miscellaneous minor functions # Miscellaneous minor functions
def set_user_pause(self, unique_ID, new_value, enforce_queue=True): def set_user_pause(self, unique_ID, new_value, enforce_queue=True):
if not self.config.get("max_active_torrents"): if self.config.get("max_active_torrents") == 0:
try: try:
self.config.set("max_active_torrents", \ self.config.set("max_active_torrents", \
self.config.get("max_active_torrents_tmp") self.config.get("max_active_torrents_tmp")