This commit is contained in:
Alon Zakai 2007-03-23 09:43:56 +00:00
parent 8761e91ed0
commit d903b033cc
1 changed files with 1 additions and 1 deletions

View File

@ -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)