mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-04 23:48:40 +00:00
catch exception in last
This commit is contained in:
parent
3169b460f0
commit
dad79748fa
1 changed files with 4 additions and 1 deletions
|
@ -864,7 +864,10 @@ class Manager:
|
||||||
#remove fastresume for non-seed
|
#remove fastresume for non-seed
|
||||||
torrent_state = self.get_core_torrent_state(unique_ID, False)
|
torrent_state = self.get_core_torrent_state(unique_ID, False)
|
||||||
if not torrent_state['is_seed']:
|
if not torrent_state['is_seed']:
|
||||||
|
try:
|
||||||
os.remove(self.unique_IDs[unique_ID].filename + ".fastresume")
|
os.remove(self.unique_IDs[unique_ID].filename + ".fastresume")
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
|
||||||
# Remove torrents from core, unique_IDs and queue
|
# Remove torrents from core, unique_IDs and queue
|
||||||
to_delete = []
|
to_delete = []
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue