This commit is contained in:
parent
8761e91ed0
commit
d903b033cc
|
@ -491,7 +491,7 @@ static PyObject *torrent_add_torrent(PyObject *self, PyObject *args)
|
||||||
catch (boost::filesystem::filesystem_error&)
|
catch (boost::filesystem::filesystem_error&)
|
||||||
{ RAISE_PTR(FilesystemError, ""); }
|
{ RAISE_PTR(FilesystemError, ""); }
|
||||||
catch (duplicate_torrent&)
|
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)
|
static PyObject *torrent_remove_torrent(PyObject *self, PyObject *args)
|
||||||
|
|
Loading…
Reference in New Issue