mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
This commit is contained in:
parent
8761e91ed0
commit
d903b033cc
1 changed files with 1 additions and 1 deletions
|
@ -491,7 +491,7 @@ static PyObject *torrent_add_torrent(PyObject *self, PyObject *args)
|
|||
catch (boost::filesystem::filesystem_error&)
|
||||
{ RAISE_PTR(FilesystemError, ""); }
|
||||
catch (duplicate_torrent&)
|
||||
{ RAISE_PTR(DuplicateTorrentError, ""); }
|
||||
{ RAISE_PTR(DuplicateTorrentError, "libtorrent reports this is a duplicate torrent"); }
|
||||
}
|
||||
|
||||
static PyObject *torrent_remove_torrent(PyObject *self, PyObject *args)
|
||||
|
|
Loading…
Add table
Reference in a new issue