This commit is contained in:
gitadmin committed 2016-03-17 20:41:50 +03:00
1 parent d1923c4fd7
commit 847e4547af
1 file changed
+5 -4
+5 -4
View File
@@ -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')