updated python bindings with the recent API change

This commit is contained in:
Arvid Norberg 2009-05-03 16:38:27 +00:00
parent d73c97e444
commit bb9815713b
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ list get_download_queue(torrent_handle& handle)
block_info["bytes_progress"] = i->blocks[k].bytes_progress;
block_info["block_size"] = i->blocks[k].block_size;
block_info["peer"] = make_tuple(
boost::lexical_cast<std::string>(i->blocks[k].peer.address()), i->blocks[k].peer.port());
boost::lexical_cast<std::string>(i->blocks[k].peer().address()), i->blocks[k].peer().port());
block_list.append(block_info);
}
partial_piece["blocks"] = block_list;