sandbox1
inpos 2016-03-17 20:41:50 +03:00
parent d1923c4fd7
commit 847e4547af
1 changed files with 5 additions and 4 deletions

View File

@ -779,10 +779,11 @@ class Pyrrent2http(object):
logging.info('Encryption not supported: %s' % (e.args,)) logging.info('Encryption not supported: %s' % (e.args,))
def Status(self): def Status(self):
try: #try:
info = self.torrentHandle.torrent_file() # info = self.torrentHandle.torrent_file()
except: #except:
info = self.torrentHandle.get_torrent_info() # info = self.torrentHandle.get_torrent_info()
info = self.TorrentFS.info
logging.info('getting status') logging.info('getting status')
tstatus = self.torrentHandle.status() tstatus = self.torrentHandle.status()
logging.info('status is here') logging.info('status is here')