Merge pull request #215 from aresch/patch-2
Change sha1_hash __init__ to use a std::string
This commit is contained in:
commit
a5010fd7af
|
@ -88,6 +88,7 @@
|
|||
to connect be timed out (introduced in the vulnerability path)
|
||||
* fixed falling back to sending UDP packets direct when socks proxy fails
|
||||
* fixed total_wanted bug (when setting file priorities in add_torrent_params)
|
||||
* fix python3 compatibility with sha1_hash
|
||||
|
||||
1.0.6 release
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ void bind_sha1_hash()
|
|||
.def(self != self)
|
||||
.def(self < self)
|
||||
.def(self_ns::str(self))
|
||||
.def(init<char const*>())
|
||||
.def(init<std::string>())
|
||||
.def("clear", &sha1_hash::clear)
|
||||
.def("is_all_zeros", &sha1_hash::is_all_zeros)
|
||||
.def("to_string", &sha1_hash::to_string)
|
||||
|
|
Loading…
Reference in New Issue