From 1c3c5b76b0c78e911124ab1e4ed232ff0dc3521f Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Thu, 17 Jan 2008 12:22:27 +0000 Subject: [PATCH] fast resume oops2 --- src/core.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/core.py b/src/core.py index a89568135..7b3b2ca9c 100644 --- a/src/core.py +++ b/src/core.py @@ -435,12 +435,12 @@ class Manager: # A separate function, because people may want to call it from time to time def save_fastresume_data(self, uid=None): if uid == None: - try: - for unique_ID in self.unique_IDs: + for unique_ID in self.unique_IDs: + try: os.remove(self.unique_IDs[unique_ID].filename + ".fastresume") - except: - pass - deluge_core.save_fastresume(unique_ID, self.unique_IDs[unique_ID].filename) + except: + pass + deluge_core.save_fastresume(unique_ID, self.unique_IDs[unique_ID].filename) else: try: os.remove(self.unique_IDs[uid].filename + ".fastresume")