import deluge.ui.common for TorrentInfo command
This commit is contained in:
parent
10816cb8f4
commit
4e5d88da82
|
@ -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…
Reference in New Issue