From 9ac92ca982d19b3f3a5a5463677126aae62805f8 Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Tue, 25 Sep 2007 21:02:22 +0000 Subject: [PATCH] remove fastresume file when a torrent is unpaused --- src/interface.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/interface.py b/src/interface.py index 70169a61d..07af17e87 100644 --- a/src/interface.py +++ b/src/interface.py @@ -716,6 +716,10 @@ window, please enter your password")) for uid in unique_ids: torrent_state = self.manager.get_torrent_state(uid) if torrent_state["is_paused"]: + try: + os.remove(self.manager.unique_IDs[uid].filename + ".fastresume") + except: + pass self.manager.set_user_pause(uid, False, True) self.update()