From b3a912cdea7f565b52b98380c2e71fb3906945f3 Mon Sep 17 00:00:00 2001 From: Alex Dedul Date: Fri, 20 Jul 2007 23:11:03 +0000 Subject: [PATCH] Fixed some issues in [1067]. Thanks for testing, eternalswd. --- src/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core.py b/src/core.py index f92975e80..615358987 100644 --- a/src/core.py +++ b/src/core.py @@ -524,7 +524,7 @@ class Manager: print "Not enough free space to resume this torrent!" else: #We're using compact allocation so lets just resume 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 \ self.get_pref('max_active_torrents') != -1) or \ self.is_user_paused(unique_ID)):