From cbb8d4af5799459ca5dc92b97cfaec1aa9f52eb6 Mon Sep 17 00:00:00 2001 From: Zach Tibbitts Date: Thu, 11 Jan 2007 05:02:48 +0000 Subject: [PATCH] - --- deluge.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/deluge.py b/deluge.py index e9d189477..43fd97fe1 100644 --- a/deluge.py +++ b/deluge.py @@ -550,12 +550,6 @@ class Manager: # Cache torrent file (temp, filename_short) = os.path.split(filename) - # Remove torrents from core, unique_IDs and queue - to_delete = [] - for torrent in self.state.torrents: - if torrent.delete_me: - deluge_core.remove_torrent(torrent.unique_ID, torrent.filename) - to_delete.append(torrent.unique_ID) if filename_short in os.listdir(self.base_dir + "/" + TORRENTS_SUBDIR): raise DelugeError("Duplicate Torrent, it appears: " + filename_short)