fast resume oops
This commit is contained in:
parent
d1eb4bc8d6
commit
ac80dd4d59
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue