fast resume oops

This commit is contained in:
Marcos Pinto 2008-01-17 12:18:11 +00:00
parent d1eb4bc8d6
commit ac80dd4d59
1 changed files with 2 additions and 2 deletions

View File

@ -438,15 +438,15 @@ class Manager:
try: try:
for unique_ID in self.unique_IDs: for unique_ID in self.unique_IDs:
os.remove(self.unique_IDs[unique_ID].filename + ".fastresume") os.remove(self.unique_IDs[unique_ID].filename + ".fastresume")
deluge_core.save_fastresume(unique_ID, self.unique_IDs[unique_ID].filename)
except: except:
pass pass
deluge_core.save_fastresume(unique_ID, self.unique_IDs[unique_ID].filename)
else: else:
try: try:
os.remove(self.unique_IDs[uid].filename + ".fastresume") os.remove(self.unique_IDs[uid].filename + ".fastresume")
deluge_core.save_fastresume(uid, self.unique_IDs[uid].filename)
except: except:
pass pass
deluge_core.save_fastresume(uid, self.unique_IDs[uid].filename)
# State retrieval functions # State retrieval functions