Fix importing libtorrent

This commit is contained in:
Andrew Resch 2010-03-20 19:12:10 -07:00
commit 16b832f7ab

View file

@ -9,7 +9,7 @@ from deluge import maketorrent
def check_torrent(filename): def check_torrent(filename):
# Test loading with libtorrent to make sure it's valid # Test loading with libtorrent to make sure it's valid
import libtorrent as lt from deluge._libtorrent import lt
lt.torrent_info(filename) lt.torrent_info(filename)
# Test loading with our internal TorrentInfo class # Test loading with our internal TorrentInfo class