mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-04 15:38:43 +00:00
edit tracker done
This commit is contained in:
parent
66e61a62bc
commit
6601a0a7e3
1 changed files with 2 additions and 2 deletions
|
@ -1363,8 +1363,8 @@ static PyObject *torrent_get_trackers(PyObject *self, PyObject *args)
|
||||||
static PyObject *torrent_replace_trackers(PyObject *self, PyObject *args)
|
static PyObject *torrent_replace_trackers(PyObject *self, PyObject *args)
|
||||||
{
|
{
|
||||||
python_long unique_ID;
|
python_long unique_ID;
|
||||||
std::string tracker;
|
const char* tracker;
|
||||||
if (!PyArg_ParseTuple(args, "is", &unique_ID, &tracker))
|
if (!PyArg_ParseTuple(args, "iz", &unique_ID, &tracker))
|
||||||
return NULL;
|
return NULL;
|
||||||
long index = get_index_from_unique_ID(unique_ID);
|
long index = get_index_from_unique_ID(unique_ID);
|
||||||
if (PyErr_Occurred())
|
if (PyErr_Occurred())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue