Fix importing libtorrent
This commit is contained in:
parent
b0714f625f
commit
16b832f7ab
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user