another python binding fix

This commit is contained in:
arvidn 2016-06-14 20:16:04 -04:00
parent f01ac8f86c
commit 42c6376d5c
1 changed files with 2 additions and 2 deletions

View File

@ -193,9 +193,9 @@ void dict_to_announce_entry(dict d, announce_entry& ae)
if (d.has_key("source")) if (d.has_key("source"))
ae.source = extract<int>(d["source"]); ae.source = extract<int>(d["source"]);
if (d.has_key("verified")) if (d.has_key("verified"))
ae.verified = extract<int>(d["verified"]); ae.verified = extract<bool>(d["verified"]);
if (d.has_key("send_stats")) if (d.has_key("send_stats"))
ae.send_stats = extract<int>(d["send_stats"]); ae.send_stats = extract<bool>(d["send_stats"]);
} }
void replace_trackers(torrent_handle& h, object trackers) void replace_trackers(torrent_handle& h, object trackers)