forked from premiere/premiere-libtorrent
attempt to fix deluge magnet link issue
This commit is contained in:
parent
e73e96b04c
commit
6ecf54996c
|
@ -153,7 +153,7 @@ namespace
|
|||
, std::vector<char>& rd, std::list<std::string>& string_storage)
|
||||
{
|
||||
// torrent_info objects are always held by an intrusive_ptr in the python binding
|
||||
if (params.has_key("ti"))
|
||||
if (params.has_key("ti") && !params.get("ti").is_none())
|
||||
p.ti = extract<intrusive_ptr<torrent_info> >(params["ti"]);
|
||||
|
||||
if (params.has_key("info_hash"))
|
||||
|
|
Loading…
Reference in New Issue