From 2efe45896b0706fc94fc2f8194b774259bc46382 Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Wed, 11 Jul 2007 04:34:15 +0000 Subject: [PATCH] fix buildvalue segfault --- src/deluge_core.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/deluge_core.cpp b/src/deluge_core.cpp index 15100fd6f..23b9a16fd 100644 --- a/src/deluge_core.cpp +++ b/src/deluge_core.cpp @@ -957,7 +957,7 @@ static PyObject *torrent_get_file_info(PyObject *self, PyObject *args) file_entry const &currFile = (*i); file_info = Py_BuildValue( - "{s:s,s:d,s:d,s:f}", + "{s:s,s:d,s:f}", "path", currFile.path.string().c_str(), "size", double(currFile.size), "progress", progresses[i - start]*100.0