mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +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
|
||||
add_get_info = libtorrent.torrent_info
|
||||
except:
|
||||
import deluge.ui.common
|
||||
add_get_info = deluge.ui.common.TorrentInfo
|
||||
|
||||
def add_torrent(t_file, options, success_cb, fail_cb, ress):
|
||||
|
|
Loading…
Add table
Reference in a new issue