From 4e5d88da8261cf1693e5d6ada2322604a5ea0926 Mon Sep 17 00:00:00 2001 From: Nick Lanham Date: Tue, 22 Feb 2011 12:34:29 +0100 Subject: [PATCH] import deluge.ui.common for TorrentInfo command --- deluge/ui/console/modes/add_util.py | 1 + 1 file changed, 1 insertion(+) diff --git a/deluge/ui/console/modes/add_util.py b/deluge/ui/console/modes/add_util.py index 49720df97..9349cefa4 100644 --- a/deluge/ui/console/modes/add_util.py +++ b/deluge/ui/console/modes/add_util.py @@ -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):