mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-16 05:17:31 +00:00
Do not bother removing fastresume files on resume.
This commit is contained in:
parent
83f8481797
commit
367e3f1df8
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user