summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Resch <andrewresch@gmail.com>2008-02-16 10:09:17 +0000
committerAndrew Resch <andrewresch@gmail.com>2008-02-16 10:09:17 +0000
commit5ca14dbfba6267e6dee2f064354395e3f1f44f9d (patch)
tree1a539739719df7089a415c0cdd952cf55d2c8743
parent68e5745e0271c6c85a75549c0a70bcfd251fd95d (diff)
downloaddeluge-5ca14dbfba6267e6dee2f064354395e3f1f44f9d.tar.gz
deluge-5ca14dbfba6267e6dee2f064354395e3f1f44f9d.tar.bz2
deluge-5ca14dbfba6267e6dee2f064354395e3f1f44f9d.zip
Fix duplicate torrents on restart.
-rw-r--r--src/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.py b/src/core.py
index fb469977d..ec3fff8de 100644
--- a/src/core.py
+++ b/src/core.py
@@ -1019,7 +1019,7 @@ likely the tracker did not responsd in utf-8."
torrent.save_dir,
torrent.compact)
except DelugeError, e:
- to_remove.append(torrent)
+ del self.state.torrents[torrent]
raise e
continue
except Exception, e: