mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-09 01:48:40 +00:00
Fix importing libtorrent
This commit is contained in:
parent
b0714f625f
commit
16b832f7ab
1 changed files with 12 additions and 12 deletions
|
@ -9,7 +9,7 @@ from deluge import maketorrent
|
|||
|
||||
def check_torrent(filename):
|
||||
# Test loading with libtorrent to make sure it's valid
|
||||
import libtorrent as lt
|
||||
from deluge._libtorrent import lt
|
||||
lt.torrent_info(filename)
|
||||
|
||||
# Test loading with our internal TorrentInfo class
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue