From 6601a0a7e3fdca7d3d6e7986c976ce02b76dbd01 Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Mon, 25 Jun 2007 02:25:53 +0000 Subject: [PATCH] edit tracker done --- src/deluge_core.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/deluge_core.cpp b/src/deluge_core.cpp index 3913992bc..cbfb8acd6 100644 --- a/src/deluge_core.cpp +++ b/src/deluge_core.cpp @@ -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())