mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-05 17:43:37 +00:00
Possible fix for failed to send torrent errors
This commit is contained in:
parent
11150efab0
commit
8415b32fc6
1 changed files with 0 additions and 9 deletions
|
@ -406,15 +406,6 @@ class GenericProvider:
|
|||
epNum = SEASON_RESULT
|
||||
logger.log(u"Separating full season result to check for later", logger.DEBUG)
|
||||
|
||||
# validate torrent file if not magnet link to avoid invalid torrent links
|
||||
if self.providerType == self.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
|
||||
|
||||
if epNum not in results:
|
||||
results[epNum] = [result]
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue