Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 412755 | Differences between
and this patch

Collapse All | Expand All

(-)bindings/python/src/session.cpp (-1 / +1 lines)
Lines 153-159 Link Here
153
        , std::vector<char>& rd, std::list<std::string>& string_storage)
153
        , std::vector<char>& rd, std::list<std::string>& string_storage)
154
    {
154
    {
155
        // torrent_info objects are always held by an intrusive_ptr in the python binding
155
        // torrent_info objects are always held by an intrusive_ptr in the python binding
156
        if (params.has_key("ti"))
156
        if (params.has_key("ti") && !params.get("ti").is_none())
157
            p.ti = extract<intrusive_ptr<torrent_info> >(params["ti"]);
157
            p.ti = extract<intrusive_ptr<torrent_info> >(params["ti"]);
158
158
159
        if (params.has_key("info_hash"))
159
        if (params.has_key("info_hash"))

Return to bug 412755