mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-18 14:26:24 +00:00
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…
x
Reference in New Issue
Block a user