do not ignore libtorrent import error

This commit is contained in:
Victor Shyba 2022-08-15 23:22:21 -03:00 committed by Victor Shyba
parent 8f26010c04
commit 5be990fc55

View file

@ -28,11 +28,7 @@ from lbry.torrent.torrent_manager import TorrentManager
from lbry.wallet import WalletManager
from lbry.wallet.usage_payment import WalletServerPayer
from lbry.torrent.tracker import TrackerClient
try:
from lbry.torrent.session import TorrentSession
except ImportError:
TorrentSession = None
from lbry.torrent.session import TorrentSession
log = logging.getLogger(__name__)