import deluge.ui.common for TorrentInfo command

This commit is contained in:
Nick Lanham 2011-02-22 12:34:29 +01:00
parent 10816cb8f4
commit 4e5d88da82
1 changed files with 1 additions and 0 deletions

View File

@ -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):