From 847e4547af55ae4042f209a9d872733e0cc826a0 Mon Sep 17 00:00:00 2001 From: inpos Date: Thu, 17 Mar 2016 20:41:50 +0300 Subject: [PATCH] . --- lib/pyrrent2http/pyrrent2http.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/pyrrent2http/pyrrent2http.py b/lib/pyrrent2http/pyrrent2http.py index c174f68..944ad2b 100644 --- a/lib/pyrrent2http/pyrrent2http.py +++ b/lib/pyrrent2http/pyrrent2http.py @@ -779,10 +779,11 @@ class Pyrrent2http(object): logging.info('Encryption not supported: %s' % (e.args,)) def Status(self): - try: - info = self.torrentHandle.torrent_file() - except: - info = self.torrentHandle.get_torrent_info() + #try: + # info = self.torrentHandle.torrent_file() + #except: + # info = self.torrentHandle.get_torrent_info() + info = self.TorrentFS.info logging.info('getting status') tstatus = self.torrentHandle.status() logging.info('status is here')