fixed lock in python binding

This commit is contained in:
Arvid Norberg 2007-04-09 01:35:23 +00:00
parent fa85e3848f
commit 01c9cc04cd
1 changed files with 1 additions and 0 deletions

View File

@ -80,6 +80,7 @@ namespace
, boost::filesystem::path const& save, entry const& resume
, bool compact, int block_size)
{
allow_threading_guard guard;
return s.add_torrent(ti, save, resume, compact, block_size
, default_storage_constructor);
}