mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-06 00:18:39 +00:00
import deluge.ui.common for TorrentInfo command
This commit is contained in:
parent
10816cb8f4
commit
4e5d88da82
1 changed files with 1 additions and 0 deletions
|
@ -48,6 +48,7 @@ try:
|
||||||
import libtorrent
|
import libtorrent
|
||||||
add_get_info = libtorrent.torrent_info
|
add_get_info = libtorrent.torrent_info
|
||||||
except:
|
except:
|
||||||
|
import deluge.ui.common
|
||||||
add_get_info = deluge.ui.common.TorrentInfo
|
add_get_info = deluge.ui.common.TorrentInfo
|
||||||
|
|
||||||
def add_torrent(t_file, options, success_cb, fail_cb, ress):
|
def add_torrent(t_file, options, success_cb, fail_cb, ress):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue