Fixed some issues in [1067]. Thanks for testing, eternalswd.

This commit is contained in:
Alex Dedul 2007-07-20 23:11:03 +00:00
parent 3f13587ed9
commit b3a912cdea
1 changed files with 1 additions and 1 deletions

View File

@ -524,7 +524,7 @@ class Manager:
print "Not enough free space to resume this torrent!" print "Not enough free space to resume this torrent!"
else: #We're using compact allocation so lets just resume else: #We're using compact allocation so lets just resume
deluge_core.resume(unique_ID) deluge_core.resume(unique_ID)
elif torrent_state['is_paused'] and \ elif not torrent_state['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)):