edit tracker done
This commit is contained in:
parent
66e61a62bc
commit
6601a0a7e3
|
@ -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…
Reference in New Issue