mirror of
https://git.deluge-torrent.org/deluge
synced 2025-09-17 15:21:56 +00:00
fix buildvalue segfault
This commit is contained in:
parent
2482aba77b
commit
2efe45896b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue