Плохой торрент - пустой список файлов

sandbox1
inpos 2016-03-12 01:30:27 +03:00
parent 0d398c9feb
commit 1031f71364
1 changed files with 2 additions and 1 deletions

View File

@ -165,7 +165,8 @@ class AnteoLoader:
else Localization.localize('Opening torrent file') else Localization.localize('Opening torrent file')
while not files and not xbmc.abortRequested and iterator < 100: while not files and not xbmc.abortRequested and iterator < 100:
files = self.engine.list() files = self.engine.list()
self.engine.check_torrent_error() #self.engine.check_torrent_error()
if len(files) == 0: break
if iterator==4: if iterator==4:
progressBar = xbmcgui.DialogProgress() progressBar = xbmcgui.DialogProgress()
progressBar.create(Localization.localize('Please Wait'), progressBar.create(Localization.localize('Please Wait'),