mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +00:00
Fix duplicate torrent handling.
This commit is contained in:
parent
ce1398f342
commit
967f0a6a78
1 changed files with 3 additions and 0 deletions
|
@ -1018,6 +1018,9 @@ likely the tracker did not responsd in utf-8."
|
||||||
unique_ID = deluge_core.add_torrent(torrent.filename,
|
unique_ID = deluge_core.add_torrent(torrent.filename,
|
||||||
torrent.save_dir,
|
torrent.save_dir,
|
||||||
torrent.compact)
|
torrent.compact)
|
||||||
|
except DelugeError, e:
|
||||||
|
to_remove.append(torrent)
|
||||||
|
raise e
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
print "Unable to add torrent: ", e
|
print "Unable to add torrent: ", e
|
||||||
to_remove.append(torrent)
|
to_remove.append(torrent)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue