edit tracker done

This commit is contained in:
Marcos Pinto 2007-06-25 02:25:53 +00:00
parent 66e61a62bc
commit 6601a0a7e3
1 changed files with 2 additions and 2 deletions

View File

@ -1363,8 +1363,8 @@ static PyObject *torrent_get_trackers(PyObject *self, PyObject *args)
static PyObject *torrent_replace_trackers(PyObject *self, PyObject *args)
{
python_long unique_ID;
std::string tracker;
if (!PyArg_ParseTuple(args, "is", &unique_ID, &tracker))
const char* tracker;
if (!PyArg_ParseTuple(args, "iz", &unique_ID, &tracker))
return NULL;
long index = get_index_from_unique_ID(unique_ID);
if (PyErr_Occurred())