mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-15 05:54:24 +00:00
fix buildvalue segfault
This commit is contained in:
parent
2482aba77b
commit
2efe45896b
@ -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…
x
Reference in New Issue
Block a user