fix python binding build

This commit is contained in:
Arvid Norberg 2014-03-27 07:06:38 +00:00
parent d6bbb5be9e
commit f136e673d6
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ namespace {
list nodes_list;
for (std::vector<std::pair<std::string, int> >::const_iterator i = p.dht_nodes.begin()
, end(p.dht_nodes.end()); i != end; ++i)
tracker_list.append(make_tuple(i->first, i->second));
tracker_list.append(boost::python::make_tuple(i->first, i->second));
ret["dht_nodes"] = nodes_list;
ret["info_hash"] = p.info_hash;
ret["name"] = p.name;