summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Resch <andrewresch@gmail.com>2008-02-25 04:29:18 +0000
committerAndrew Resch <andrewresch@gmail.com>2008-02-25 04:29:18 +0000
commit367e3f1df87a6e16d1115c611a68160adf728138 (patch)
tree9ada4a01373d4b959655e9fcb2916aa896c60aa1
parent83f8481797bcad09878f43bd6eea0c744bfb70aa (diff)
downloaddeluge-367e3f1df87a6e16d1115c611a68160adf728138.tar.gz
deluge-367e3f1df87a6e16d1115c611a68160adf728138.tar.bz2
deluge-367e3f1df87a6e16d1115c611a68160adf728138.zip
Do not bother removing fastresume files on resume.
-rw-r--r--src/interface.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/interface.py b/src/interface.py
index 0bd4c16f2..7a08be671 100644
--- a/src/interface.py
+++ b/src/interface.py
@@ -832,11 +832,6 @@ window, please enter your password"))
for uid in unique_ids:
torrent_state = self.manager.get_torrent_state(uid)
if torrent_state["is_paused"]:
- try:
- if torrent_state["state"] != 6 or torrent_state["state"] != 7:
- os.remove(self.manager.unique_IDs[uid].filename + ".fastresume")
- except:
- pass
self.manager.set_user_pause(uid, False, True)
self.update()