remove unneeded includes and cleanup
This commit is contained in:
parent
11ae69c83d
commit
547d378ceb
|
@ -55,9 +55,6 @@
|
|||
#include "libtorrent/natpmp.hpp"
|
||||
#include "libtorrent/extensions/metadata_transfer.hpp"
|
||||
#include "libtorrent/extensions/ut_pex.hpp"
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
using namespace std;
|
||||
using namespace boost::filesystem;
|
||||
using namespace libtorrent;
|
||||
|
||||
|
@ -337,7 +334,7 @@ static PyObject *torrent_init(PyObject *self, PyObject *args)
|
|||
M_ses->set_upload_rate_limit(-1);
|
||||
|
||||
M_ses->set_settings(*M_settings);
|
||||
M_ses->set_severity_level(alert::info);
|
||||
M_ses->set_severity_level(alert::debug);
|
||||
|
||||
M_ses->add_extension(&libtorrent::create_metadata_plugin);
|
||||
|
||||
|
|
Loading…
Reference in New Issue