Possible fix for failed to send torrent errors

This commit is contained in:
echel0n 2014-08-17 22:52:19 -07:00
parent 8415b32fc6
commit 6c15943363
1 changed files with 0 additions and 9 deletions

View File

@ -361,15 +361,6 @@ class TVCache():
result.version = curVersion
result.content = None
# validate torrent file if not magnet link to avoid invalid torrent links
if self.provider.providerType == sickbeard.providers.generic.GenericProvider.TORRENT:
if sickbeard.TORRENT_METHOD != "blackhole":
client = clients.getClientIstance(sickbeard.TORRENT_METHOD)()
result = client._get_torrent_hash(result)
if not result.hash:
logger.log(u'Unable to get torrent hash for ' + title + ', skipping it', logger.DEBUG)
continue
# add it to the list
if epObj not in neededEps:
neededEps[epObj] = [result]