From 02b3a5e515a0cfc2a01542b564d8f321a02d0682 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sat, 4 Apr 2015 19:27:40 +0000 Subject: [PATCH] another python binding fix --- bindings/python/src/session.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/python/src/session.cpp b/bindings/python/src/session.cpp index 10eb0411b..1d17f1f57 100644 --- a/bindings/python/src/session.cpp +++ b/bindings/python/src/session.cpp @@ -650,7 +650,7 @@ void bind_session() init(( arg("fingerprint")=fingerprint("LT",0,1,0,0) , arg("flags")=lt::session::start_default_features | lt::session::add_default_plugins - , arg("alert_mask")=alert::error_notification)) + , arg("alert_mask")=int(alert::error_notification))) ) .def("post_torrent_updates", allow_threads(<::session::post_torrent_updates)) .def("outgoing_ports", &outgoing_ports)